-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
56 lines (50 loc) · 1.12 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
# docker-compose.yml for malice.io site
version: '3'
services:
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
links:
- docs
- wordpress
restart: always
environment:
DOMAINS: 'malice.io-> http://wordpress, docs.malice.io-> http://docs:443'
STAGE: 'production'
# FORCE_RENEW: 'true'
docs:
image: malice/docs
restart: always
# read_only: true
environment:
MALICE_DOCS_THEME: 'hugo-material-docs'
MALICE_DOCS_URL: 'docs.malice.io'
MALICE_DOCS_PORT: 443
logging:
driver: 'json-file'
options:
max-size: '200k'
max-file: '10'
wordpress:
image: wordpress
links:
- db:mysql
restart: always
environment:
WORDPRESS_DB_PASSWORD: $MYSQL_ROOT_PASSWORD
db:
image: mariadb
volumes:
- data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
watchtower:
image: v2tec/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup maliceio_docs_1
volumes:
data: