forked from francescou/docker-compose-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (33 loc) · 1.07 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
version: "2"
services:
docker_compose_ui:
restart: always
image: francescou/docker-compose-ui:1.13.0
container_name: docker_compose_ui
hostname: docker_compose_ui
working_dir: /opt/docker-compose-projects/
environment:
- 'WEB_CONSOLE_PATTERN=/web-console/?cid={containerName}&cmd={command}'
#working_dir: /home/user/docker-compose-ui/demo-projects
volumes:
- /var/run/docker.sock:/var/run/docker.sock
#- /home/user/docker-compose-ui/demo-projects:/home/user/docker-compose-ui/demo-projects
web_console:
image: bitbull/docker-exec-web-console
environment:
- 'CONTEXT_PATH=/web-console/'
read_only: true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
nginx:
image: nginx:alpine
read_only: true
restart: always
ports:
- 8080:80
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
- /var/cache/nginx/
- /var/run/
- /logs/