-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
149 lines (134 loc) · 3.16 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
version: "2.1"
services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- URL=anaellogan.duckdns.org
- VALIDATION=duckdns
- SUBDOMAINS=wildcard
- DUCKDNSTOKEN=8c513e88-a90d-4ddc-9ab2-2fcc09e7ce08
volumes:
- ./swag:/config
- ./swag-conf:/config/nginx/proxy-confs
ports:
- "443:443"
- "80:80"
restart: unless-stopped
dashy:
image: lissy93/dashy
container_name: dashy
volumes:
- ./dashy_conf.yml:/app/public/conf.yml
restart: unless-stopped
app:
build: ./app
container_name: app
restart: always
wordpress:
image: wordpress:latest
container_name: wordpress
depends_on:
- mysql_db
volumes:
- ./wordpress:/var/www/html
environment:
- WORDPRESS_DB_HOST=mysql_db:3306
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=wordpress
restart: always
gitea:
image: gitea/gitea:latest
depends_on:
- postgresql_db
volumes:
- ./gitea:/data
environment:
- POSTGRES_PASSWORD=password
restart: always
nextcloud:
image: nextcloud
depends_on:
- mysql_db
volumes:
- ./nextcloud:/var/www/html
environment:
- MYSQL_HOST=mysql_db:3306
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
restart: always
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
depends_on:
- mysql_db
volumes:
- ./bookstack:/config
environment:
- APP_URL=https://bookstack.localhost/
- DB_HOST=mysql_db:3306
- DB_USER=bookstack
- DB_PASS=bookstack
- DB_DATABASE=bookstack
restart: unless-stopped
mattermost:
image: mattermost/mattermost-preview
container_name: mattermost
restart: unless-stopped
mailhog:
image: mailhog/mailhog
container_name: mailhog
restart: unless-stopped
mysql_db:
image: mysql:5.7
container_name: mysql_db
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./sql:/docker-entrypoint-initdb.d
- mysql_db_data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password
restart: always
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
depends_on:
- mysql_db
environment:
- PMA_HOST=mysql_db
- MYSQL_ROOT_PASSWORD=password
restart: always
postgresql_db:
image: postgres:9.6
container_name: postgresql_db
volumes:
- postgresql_db_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=password
- POSTGRES_DB=gitea
restart: always
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
environment:
- PGADMIN_DEFAULT_PASSWORD=password
restart: always
redis:
image: redis:6.2-alpine
container_name: redis
volumes:
- redis_data:/data
restart: always
volumes:
mysql_db_data:
postgresql_db_data:
redis_data:
driver: local