mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-08-19 11:43:22 +02:00
Production ready
This commit is contained in:
+15
-1
@@ -16,7 +16,9 @@ services:
|
||||
timeout: 30s
|
||||
retries: 10
|
||||
backend:
|
||||
build: .
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile.backend
|
||||
image: parismuseesquizz-backend
|
||||
depends_on:
|
||||
db:
|
||||
@@ -29,6 +31,18 @@ services:
|
||||
- back-net
|
||||
ports:
|
||||
- "${API_PORT}:${API_PORT}"
|
||||
frontend:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile.frontend
|
||||
image: parismuseesquizz-frontend
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "${FRONT_PORT}:80"
|
||||
networks:
|
||||
- front-net
|
||||
|
||||
networks:
|
||||
back-net:
|
||||
front-net:
|
||||
|
||||
Reference in New Issue
Block a user