tiramisu in postgres database
This commit is contained in:
@ -15,6 +15,9 @@ services:
|
||||
#command: tail -F /var/log
|
||||
command: python -u /srv/src/risotto/script/server.py
|
||||
restart: on-failure
|
||||
environment:
|
||||
RISOTTO_DSN: ${RISOTTO_DSN:-postgres://risotto:risotto@postgres:5432/risotto}
|
||||
RISOTTO_TIRAMISU_DSN: ${RISOTTO_TIRAMISU_DSN:-postgres://risotto:risotto@postgres:5432/tiramisu}
|
||||
postgres:
|
||||
image: postgres:11-alpine
|
||||
environment:
|
||||
@ -25,4 +28,4 @@ services:
|
||||
- ./postgres-init/:/docker-entrypoint-initdb.d/
|
||||
ports:
|
||||
- "5432:5432"
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
Reference in New Issue
Block a user