-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-usegateway.yml
32 lines (30 loc) · 1.46 KB
/
docker-compose-usegateway.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
version: "2"
services:
gateway:
container_name: gateway
image: yovio/docker-gateway:LAMP
volumes:
- /docker-data/mysql/data:/var/lib/mysql # Location of MariaDB/Mysql data files
- /docker-data/wp-content:/var/www/html/wp-content # Location of wordpress content files
restart: always
cap_add:
- SYS_PTRACE
gateone:
container_name: gateone
image: liftoff/gateone
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
ports:
- "80:80"
- "443:443"
links:
- gateway
- gateone
volumes:
- /docker-data/nginx/nginx.conf.usegateway:/etc/nginx/nginx.conf:ro
- /docker-data/nginx/ssl:/etc/nginx/ssl:ro
restart: always