1
0
Fork 0

Update docker-compose setup

master
palid 2023-07-17 23:08:24 +02:00
parent a6705a956f
commit d026e41ac5
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
1 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,15 @@
version: "3" version: "3"
services: services:
db: db:
build: postgres-hstore image: postgres:15.3-alpine
restart: always restart: always
environment: environment:
- POSTGRES_HOST_AUTH_METHOD=trust - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
web: web:
build: . image: registry.k0.hswaw.net/palid/spejstore:1689628039
restart: always restart: always
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application" command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
volumes: volumes: