ajout de fichiers de configurqtion divers
This commit is contained in:
parent
fec74d9f83
commit
292c791a27
4 changed files with 64 additions and 0 deletions
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
services:
|
||||
backend:
|
||||
container_name: monsite-perso-backend
|
||||
build: ./backend
|
||||
ports:
|
||||
- "8887:8887"
|
||||
environment:
|
||||
- FLASK_ENV=production
|
||||
networks:
|
||||
- site_perso_network
|
||||
|
||||
frontend:
|
||||
container_name: monsite-perso-frontend
|
||||
build: ./frontend
|
||||
ports:
|
||||
- "3001:3001"
|
||||
depends_on:
|
||||
- backend
|
||||
networks:
|
||||
- site_perso_network
|
||||
|
||||
nginx_site_perso:
|
||||
image: nginx:latest
|
||||
container_name: nginx_site_perso
|
||||
expose:
|
||||
- "80"
|
||||
volumes:
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
networks:
|
||||
- site_perso_network
|
||||
- global_network
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
site_perso_network:
|
||||
driver: bridge
|
||||
global_network:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue