2020-05-12 18:56:44 +00:00
|
|
|
version: "3"
|
2016-09-29 20:20:10 +00:00
|
|
|
services:
|
|
|
|
db:
|
2017-02-15 03:01:47 +00:00
|
|
|
build: postgres-hstore
|
2017-10-22 21:51:22 +00:00
|
|
|
restart: always
|
2020-05-12 18:56:44 +00:00
|
|
|
environment:
|
2023-07-14 14:29:47 +00:00
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
2016-09-29 20:20:10 +00:00
|
|
|
|
|
|
|
web:
|
|
|
|
build: .
|
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
|
2020-05-12 18:56:44 +00:00
|
|
|
environment:
|
|
|
|
- SPEJSTORE_CLIENT_ID
|
|
|
|
- SPEJSTORE_SECRET
|
|
|
|
- SPEJSTORE_ENV
|