-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (56 loc) · 1021 Bytes
/
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
version: '3.7'
services:
acquire:
build: ./acquire
image: acquire:latest
env_file: .env
restart: always
depends_on:
- db
networks:
- cdf.moe_backend
db:
image: postgres:12-alpine
env_file: .env
restart: always
expose:
- '5432'
volumes:
- cdf.moe_pgdata:/var/lib/postgresql/data
networks:
- cdf.moe_backend
api:
build: ./api
image: api:latest
env_file: .env
restart: always
depends_on:
- db
networks:
- cdf.moe_backend
- cdf.moe_nginx
volumes:
- './api:/code'
- '/code/node_modules'
ports:
- '3000:3000'
website:
build: ./website
image: website:latest
restart: always
depends_on:
- api
networks:
- cdf.moe_nginx
volumes:
- './website:/code'
- '/code/node_modules'
- '/code/src/assets/fonts'
ports:
- '8080:8080'
volumes:
cdf.moe_pgdata:
networks:
cdf.moe_backend:
cdf.moe_nginx:
external: true