ci(Dev): Using docker to serve django and vue on same host.

This commit is contained in:
2024-09-28 14:04:13 -05:00
parent a7147d1850
commit 2c8911fb78
5 changed files with 56 additions and 1 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
nginx:
build:
context: ./
dockerfile: nginx.Dockerfile
ports:
- "7000:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./tienda_ilusion/don_confiao/static/frontend:/var/www/frontend/
django:
build:
context: ./
dockerfile: django.Dockerfile
volumes:
- ./tienda_ilusion:/app/
ports:
- 7001:9090