Skip to content
Snippets Groups Projects
Commit 3ede2a1d authored by Simon Künzel's avatar Simon Künzel
Browse files

Add postgres to docker compose for dev

parent 034dfcba
No related branches found
No related tags found
No related merge requests found
......@@ -45,11 +45,11 @@ DB_CONNECTIONS = {
DATABASE = {
"engine": "postgres",
"postgres": {
"host": "10.0.0.23",
"port": 5432,
"host": "database",
"port": 9343,
"user": "videoag",
"password": "",
"database": "videoag_alchemy",
"password": "videoag",
"database": "videoag",
"auto_migration": True,
"ignore_no_connection": False,
},
......
......@@ -11,3 +11,15 @@ services:
- VIDEOAG_API_CONFIG=../config/api_example_config.py
- VIDEOAG_API_LIVE_CONFIG=../config/live_config.json
- VIDEOAG_UWSGI_CONFIG=/code/config/uwsgi_example.ini
database:
image: postgres:16-alpine
environment:
- POSTGRES_USER=videoag
- POSTGRES_PASSWORD=videoag
ports:
- '9343:9343'
volumes:
- .data/:/var/lib/postgresql/data
volumes:
database:
driver: local
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment