-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yaml
49 lines (44 loc) · 1019 Bytes
/
docker-compose.yaml
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
version: "3"
services:
flask:
build:
context: ./docker-manager-flask
dockerfile: Dockerfile
image: guojiaxing1995/docker-manager-flask:v1
container_name: docker-manager-flask
restart: always
expose:
- 5005
networks:
- docker-manager
volumes:
- ./config/:/docker-manager-flask/app/config/
exec:
build:
context: ./docker-manager-exec
dockerfile: Dockerfile
image: guojiaxing1995/docker-manager-exec:v1
container_name: docker-manager-exec
restart: always
expose:
- 5006
networks:
- docker-manager
volumes:
- ./config/:/docker-manager-exec/config/
vue:
build:
context: ./docker-manager-vue
dockerfile: Dockerfile
image: guojiaxing1995/docker-manager-vue:v1
container_name: docker-manager-vue
restart: always
ports:
- 8085:80
links:
- flask
networks:
- docker-manager
networks:
docker-manager:
driver: bridge