forked from bcgov/lear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (61 loc) · 1.43 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
####################### Frontend Definition #######################
frontend:
image: bcros_frontend
container_name: bcros_frontend
build:
context: coops-ui
command: ["npm", "run", "serve"]
volumes:
- ./coops-ui/src:/opt/app/src
- ./coops-ui/tests:/opt/app/tests
- ./coops-ui/public:/opt/app/public
ports:
- 8080:8080
# depends_on:
# - backend
env_file: ./coops-ui/.env
environment:
- CHOKIDAR_USEPOLLING=true
networks:
- bcros
####################### Caddy Definition #######################
caddy_proxy:
image: bcros_proxy
container_name: bcros_proxy
build:
context: Caddy
ports:
- 2015:2015
networks:
- bcros
####################### Legal API Definition #######################
legal_api:
image: legal_api
container_name: legal_api
build:
context: legal-api
env_file:
- ./legal-api/.env
ports:
- 5000:5000
networks:
- bcros
####################### Lear Database Definition #######################
legal_db:
image: legal_db
container_name: legal_db
build:
context: lear-db
ports:
- 5432:5432
networks:
- bcros
####################### Networks Definition #######################
networks:
bcros:
driver: "bridge"
####################### Volumes Definition #######################
volumes:
postgres-data: