-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
50 lines (46 loc) · 923 Bytes
/
local.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
48
49
50
version: '3'
services:
front:
container_name: pyccel-front
build:
context: ./frontend/.
dockerfile: ./Dockerfile
env_file:
- .env
# network: host
# volumes:
# - ./frontend:/opt/app
# - /opt/app/node_modules
# - /opt/app/.next
ports:
- '3000:3000'
networks:
- PyccelNetwork
backend:
container_name: pyccel-backend
build:
context: ./backend/.
dockerfile: ./Dockerfile
# network: host
ports:
- '8000:8000'
networks:
- PyccelNetwork
nginx-ssl-proxy:
container_name: pyccel-nginx
build:
context: ./nginx/.
dockerfile: ./Dockerfile
restart: always
environment:
PROXY_ADDRESS: http://front:3000
ports:
- "80:80"
- "443:443"
volumes:
- "/etc/letsencrypt"
networks:
- PyccelNetwork
networks:
PyccelNetwork:
driver: bridge