-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (79 loc) · 1.68 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.4'
services:
webapi:
image: ${DOCKER_REGISTRY-}thompsonprojectwebapi
restart: always
build:
context: .
dockerfile: ThompsonProject.WebApi/Dockerfile
environment:
- AppSettings__LoggingUri=http://seq
- AppSettings__LoggingKey
- ConnectionStrings__Thompson=Server=db;Database=test;Uid=test;Pwd=test;
depends_on:
- proxy
ports:
- '80'
metrics:
image: datalust/seq:latest
restart: always
environment:
- ACCEPT_EULA=Y
volumes:
- metricsdata:/data
depends_on:
- proxy
ports:
- '80'
db:
image: mariadb:latest
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- dbdata:/var/lib/mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=test
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
adminer:
image: adminer:latest
environment:
ADMINER_DEFAULT_SERVER: mariadb
restart: always
depends_on:
- db
- proxy
ports:
- '8080'
wordpress:
image: wordpress:latest
volumes:
- wpdata:/var/www/html
restart: always
environment:
- WORDPRESS_DB_HOST=db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=wordpress
- WORDPRESS_DB_NAME=wordpress
depends_on:
- db
- proxy
ports:
- '60577:80'
proxy:
image: jc21/nginx-proxy-manager:latest
restart: unless-stopped
ports:
- '60080:80'
- '60081:81'
- '60443:443'
volumes:
- proxydata:/data
- proxyssl:/etc/letsencrypt
volumes:
proxydata:
proxyssl:
metricsdata:
dbdata:
wpdata: