-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 1.03 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
# version: '3'
# services:
# docsim:
# image: docsim-image
# build:
# context: .
# dockerfile: Dockerfile-docsim
# container_name: docsim
# restart: always
# volumes:
# - key-volume:/docsim/server/deploy/ssl
# nginx:
# image: nginx:latest
# restart: always
# volumes:
# - ./server/deploy/nginx.conf:/etc/nginx/nginx.conf
# - key-volume:/etc/nginx
# # - ./server/deploy/ssl/server.crt:/etc/nginx/server.crt
# # - ./server/deploy/ssl/server.key:/etc/nginx/server.key
# ports:
# - 8080:80
# - 7777:443
# depends_on:
# - docsim
# volumes:
# key-volume:
version: '3'
services:
docsim:
image: docsim-image
build:
context: .
dockerfile: Dockerfile-docsim
container_name: docsim
restart: always
nginx:
image: nginx-docsim-image
build:
context: .
dockerfile: Dockerfile-nginx
container_name: nginx-docsim
restart: always
ports:
- 8010:80
- 8011:443
depends_on:
- docsim