-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (36 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3.4'
services:
backend:
container_name: ${CONTAINER_NAME}-Backend
restart: always
image: ${IMAGE_NAME}backend
environment:
- DOMAIN=${DOMAIN}
- BACKEND_PORT=${BACKEND_PORT}
- PROTOCOL=${PROTOCOL}
build:
target: backend
dockerfile: Dockerfile
context: .
ports:
- "8080:8080"
frontend:
restart: always
container_name: ${CONTAINER_NAME}-Frontend
image: ${IMAGE_NAME}frontend
ports:
- "80:80"
build:
target: frontend
dockerfile: Dockerfile
context: .
args:
- TRAEFIK=${TRAEFIK}
- DOMAIN=${DOMAIN}
- PRODUCTION=${PRODUCTION}
- PROTOCOL=${PROTOCOL}
- BACKEND_PORT=${BACKEND_PORT}
- PRODUCTION_ADDRESS=${PRODUCTION_ADDRESS}
- DEV_SERVER=${DEV_SERVER}
- LIT_DOMAIN=${LIT_DOMAIN}
- LIT_PROJECT=${LIT_PROJECT}