-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-prod.yml
71 lines (64 loc) · 1.33 KB
/
docker-compose-prod.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
67
68
69
70
version: '3.7'
services:
mongodb:
image: mongo:4.4
container_name: girder-mongodb
restart: always
ports:
- "27017"
volumes:
- mongodb_data:/data/db
girder:
build:
context: ./girder/
dockerfile: Dockerfile
args:
GIRDER_CFG_FILE: girder.prod.cfg
ASSET_STORE_DATA_DIR: data
container_name: girder
restart: always
ports:
- "8080:8080"
links:
- "mongodb:mongodb"
command: --host 0.0.0.0 --database mongodb://mongodb:27017/girder
nginx:
build: ./girder/nginx
container_name: girder-nginx
restart: always
volumes:
- ./girder:/girder
- static_volume:/girder/static
- /opt/certs:/a
ports:
- 8088:8088
depends_on:
- girder
client:
container_name: ninjato-frontend-dev
build:
context: ./client/
dockerfile: Dockerfile-prod
volumes:
- ./client:/usr/src/app
- /usr/src/app/node_modules
- ./client/nginx.conf:/etc/nginx/conf.d/default.conf
- /opt/certs:/a
ports:
- 443:443
- 80:80
depends_on:
- girder
links:
- girder
restart: always
volumes:
mongodb_data:
static_volume:
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.0.0/28