1
0
Fork 0
spejstore-new/docker-compose.yml

25 lines
617 B
YAML
Raw Normal View History

version: "3"
2016-09-29 20:20:10 +00:00
services:
db:
2023-07-17 21:08:24 +00:00
image: postgres:15.3-alpine
2017-10-22 21:51:22 +00:00
restart: always
environment:
2023-07-17 21:08:24 +00:00
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
2016-09-29 20:20:10 +00:00
web:
image: registry.k0.hswaw.net/palid/spejstore:1689856372
2017-10-22 21:51:22 +00:00
restart: always
2023-07-17 13:47:29 +00:00
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
2016-09-29 20:20:10 +00:00
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db
environment:
- SPEJSTORE_CLIENT_ID
- SPEJSTORE_SECRET
- SPEJSTORE_ENV