Skip to content

Commit

Permalink
Got normal docker compose setup working locally
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcundill committed Sep 6, 2024
1 parent 303aa7d commit 303cdeb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.dev.docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ENVIRONMENT="development"
DATABASE_URL="postgres://postgres:postgres@db/digital_land"
PRE_START_PATH=/src/prestart-dev.sh
PRE_START_PATH=/src/prestart.sh
PORT=8000
RELOAD="true"
WEB_CONCURRENCY=1
2 changes: 0 additions & 2 deletions docker-compose.security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ services:
PRE_START_PATH: "/src/prestart.sh"
volumes:
- .:/src
# - ./static:/src/static
# - .env.test.docker:/src/.env.test
healthcheck:
test: curl -v -i -f http://localhost:8000
interval: 1s
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ services:
target: dev
volumes:
- .:/src
- .env.test.docker:/src/.env.test
# - .env.test.docker:/src/.env.test
ports:
- "8000:8000"
depends_on:
db:
condition: service_healthy
env_file: ./.env.dev.docker
environment:
DATASETTE_URL: https://datasette.digital-land.info
DATA_FILE_URL: https://data.digital-land.info
healthcheck:
test: curl -v -i -f http://localhost:8000
interval: 1s
Expand Down

0 comments on commit 303cdeb

Please sign in to comment.