-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (71 loc) · 1.67 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "2"
services:
mariadb:
container_name: mariadb
image: mariadb
networks:
- inside
volumes:
- /docker-data/mysql/data:/var/lib/mysql # Location of MariaDB/Mysql data files
restart: always
guacd:
container_name: guacd
image: guacamole/guacd
networks:
- inside
restart: always
guacamole:
container_name: guacamole
image: guacamole/guacamole
depends_on:
- guacd
- mariadb
networks:
- inside
env_file:
- /docker-data/env-files/guacamole.env
restart: always
wordpress:
container_name: wordpress
image: wordpress
depends_on:
- mariadb
restart: always
networks:
- inside
env_file:
- /docker-data/env-files/wordpress.env
volumes:
- /docker-data/wp-content:/var/www/html/wp-content # Location of wordpress content files
gateone:
container_name: gateone
image: liftoff/gateone
networks:
- inside
volumes:
- /docker-data/gateone/10server.conf:/etc/gateone/conf.d/10server.conf.new:ro
command: sh -c 'cp /etc/gateone/conf.d/10server.conf.new /etc/gateone/conf.d/10server.conf && /usr/local/bin/update_and_run_gateone --log_file_prefix=/gateone/logs/gateone.log'
nginx:
container_name: nginx
image: nginx
depends_on:
- wordpress
- gateone
- guacamole
ports:
- "80:80"
- "443:443"
networks:
- inside
- outside
volumes:
- /docker-data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- /docker-data/nginx/ssl:/etc/nginx/ssl:ro
restart: always
networks:
inside:
external:
name: bridge-inside
outside:
external:
name: bridge-outside