-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (46 loc) · 1.18 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
37
38
39
40
41
42
43
44
45
46
47
version: '3.8'
services:
fastapi:
build: ./services/fastapi/
container_name: ensys_fastapi
env_file:
- ./services/fastapi/.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${LOCAL_WORKDIR}:/app/working
networks:
- network_intern
app:
build:
context: ./services/gui/app
dockerfile: ./dockerfile
container_name: ensys_app
restart: always
env_file:
- ./.env
ports:
- "${ENSYS_PORT}:8000"
volumes:
- static_volume:/src/cdn_static_root
- ${LOCAL_WORKDIR}:/src/dumps
depends_on:
- fastapi
networks:
- network_intern
proxy:
build: ./services/proxy
container_name: gui_proxy
restart: always
ports:
- ${PROXY_PORT}:80
depends_on:
- app
volumes:
- static_volume:/static
- ${LOCAL_WORKDIR}:/static/working
networks:
- network_intern
networks:
network_intern:
volumes:
static_volume: