Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/docker-compose.standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
volumes:
- /data/database:/var/lib/postgresql/data
- /data/postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
Expand Down
10 changes: 8 additions & 2 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ services:
build:
context: ..
dockerfile: app/Dockerfile
ports:
- "8000:8000"
env_file:
- .env
healthcheck:
Expand All @@ -14,6 +12,8 @@ services:
retries: 3
start_period: 10s
restart: unless-stopped
networks:
- towlion

celery-worker:
build:
Expand All @@ -23,3 +23,9 @@ services:
env_file:
- .env
restart: unless-stopped
networks:
- towlion

networks:
towlion:
external: true
Loading