-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.Production.yml
91 lines (83 loc) · 1.76 KB
/
docker-compose.Production.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3.4'
services:
metricslogger:
image: nickmartin1ee7/nginx-seq-ingestionservice
restart: always
environment:
- API_KEY
healthcheck:
test: ["CMD-SHELL", "/usr/bin/ps -aux | /usr/bin/rg ' +0:00 tail'"]
retries: 3
start_period: 3m
volumes:
- proxydata:/data/proxydata:ro
metrics:
image: datalust/seq:latest
restart: always
environment:
- ACCEPT_EULA=Y
volumes:
- metricsdata:/data
depends_on:
- proxy
ports:
- '10084:80'
db:
image: mariadb:latest
#entrypoint: mysqld_safe --skip-grant-tables --user=mysql # Maintenance mode only
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- dbdata:/var/lib/mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
adminer:
image: adminer:latest
environment:
ADMINER_DEFAULT_SERVER: mariadb
restart: always
depends_on:
- db
- proxy
ports:
- '10083:8080'
wordpress:
image: wordpress:latest
volumes:
- wpdata:/var/www/html
restart: always
environment:
- WORDPRESS_DB_HOST
- WORDPRESS_DB_USER
- WORDPRESS_DB_PASSWORD
- WORDPRESS_DB_NAME
depends_on:
- db
- proxy
ports:
- '10082:80'
proxy:
image: jc21/nginx-proxy-manager:latest
restart: unless-stopped
ports:
- '10081:81'
- target: 80
published: 10080
protocol: tcp
mode: host
- target: 443
published: 10443
protocol: tcp
mode: host
volumes:
- proxydata:/data
- proxyssl:/etc/letsencrypt
volumes:
proxydata:
proxyssl:
metricsdata:
dbdata:
wpdata: