Files
hackathon-Seatstock/docker/docker-compose.yml
Allen 2834da98c1 ot
2023-09-23 19:48:58 -05:00

28 lines
802 B
YAML

version: "3.3"
services:
nginx:
container_name: seatstock-nginx
image: nginx:latest
restart: unless-stopped
ports:
- "80:80"
volumes:
- ../frontend:/usr/share/nginx/html
- ./volumes/nginx/config/default.conf:/etc/nginx/conf.d/default.conf:ro
docker-django:
image: docker-django
container_name: seatstock-django
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- ../backend/django:/home/app/webapp
- ../frontend/templates:/home/app/webapp/seatstock_django/seatstock_django/templates
- ../frontend/static:/home/app/webapp/seatstock_django/seatstock_django/static
environment:
- AUTH0_DOMAIN=${AUTH0_DOMAIN}
- AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}
- AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET}