Skip to content

Commit

Permalink
Bump up memory to 4GB for the container (#41)
Browse files Browse the repository at this point in the history
* fixPygeoapiConnIssue

* Revert enable by default; fix env in ci/cd

* bump up memory; make commands clearer

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Colton <cloftus@inst-builder-debian-12-build-build-psbhv.us-central1-a.c.gce-image-builder.internal>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 19, 2025
1 parent 0b93b44 commit 76c9f34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ OWDP_URL=http://localhost:8999
## Integrations
## Used to send errors to Slack
SLACK_BOT_TOKEN=""


API_BACKEND_URL="http://localhost:8999/FROST-Server/v1.1"
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services:
resources:
limits:
cpus: "7"
memory: 1GB
memory: 4GB

# only spin up the docker container for dagster if we are in production
# otherwise we want to use uv with hot reloading using dagster dev
Expand Down
7 changes: 5 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ caddy:
cp ./Caddyfile /etc/caddy/Caddyfile
sudo systemctl restart caddy

composeUp:
prodUp:
docker compose --profile production up -d

composeBuild:
prodBuild:
docker compose --profile production build

prodDown:
docker compose --profile production down

# get rid of the sensorthings db, mainly for testing purposes
wipedb:
docker volume rm oregonwaterdataportal-etl_postgis_volume
Expand Down

0 comments on commit 76c9f34

Please sign in to comment.