2022-08-22 14:19:14 +05:30
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
# db:
|
|
|
|
# image: postgres
|
|
|
|
# volumes:
|
|
|
|
# - ./data/db:/var/lib/postgresql/data
|
|
|
|
# environment:
|
|
|
|
# - POSTGRES_DB=postgres
|
|
|
|
# - POSTGRES_USER=postgres
|
|
|
|
# - POSTGRES_PASSWORD=postgres
|
|
|
|
web:
|
|
|
|
# build: .
|
|
|
|
image: realaravinth/mystiq-sso:latest
|
|
|
|
command: >
|
|
|
|
sh -c "python manage.py makemigrations &&
|
|
|
|
python manage.py migrate &&
|
|
|
|
python manage.py runserver 0.0.0.0:8000"
|
|
|
|
volumes:
|
2022-08-22 17:32:31 +05:30
|
|
|
- ./sso/local_settings:/code/sso/local_settings/
|
2022-08-22 14:19:14 +05:30
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
# environment:
|
|
|
|
# - POSTGRES_NAME=postgres
|
|
|
|
# - POSTGRES_USER=postgres
|
|
|
|
# - POSTGRES_PASSWORD=postgres
|
|
|
|
# depends_on:
|
|
|
|
# - db
|