Skip to content
Snippets Groups Projects
Verified Commit 90da2ff6 authored by Dorian Koch's avatar Dorian Koch
Browse files

Fix docker-compose setup

parent cd9604de
Branches
No related tags found
No related merge requests found
......@@ -8,9 +8,12 @@ services:
extra_hosts:
host.docker.internal: host-gateway
environment:
- VIDEOAG_API_CONFIG=../config/api_example_config.py
- VIDEOAG_CONFIG=../config/api_example_config.py
- VIDEOAG_API_LIVE_CONFIG=../config/live_config.json
- VIDEOAG_UWSGI_CONFIG=/code/config/uwsgi_example.ini
depends_on:
database:
condition: service_healthy
database:
image: postgres:16-alpine
environment:
......@@ -20,6 +23,11 @@ services:
- "9343:5432"
volumes:
- .data/:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U videoag"]
interval: 2s
timeout: 5s
retries: 5
volumes:
database:
driver: local
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment