22 lines
480 B
YAML
22 lines
480 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
nginx:
|
|
container_name: seatstock-nginx
|
|
image: nginx:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080: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
|