-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·83 lines (75 loc) · 1.63 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
##############
# abesto.net #
##############
blog:
image: quay.io/abesto/blog:latest
volumes:
- $NGINX_LOGDIR:/var/log/nginx
restart: always
#########################
# mastermind.abesto.net #
#########################
mastermind:
image: abesto/mastermind:latest
volumes:
- $NGINX_LOGDIR:/var/log/nginx
restart: always
####################
# board.abesto.net #
####################
boardredis:
image: redis:latest
volumes:
- $REDIS_STORE/are-you-board:/data
command: redis-server --appendonly yes
restart: always
board:
image: abesto/are-you-board:latest
links:
- boardredis:redis
###################
# algo.abesto.net #
###################
algo:
image: abesto/algo:latest
#####################
# lychee.abesto.net #
#####################
lycheedata:
image: kdelfour/lychee-docker:latest
volumes:
- $LYCHEE_DATADIR:/data/
- $LYCHEE_UPLOADS:/uploads/
- $LYCHEE_MYSQL:/var/lib/mysql
command: /bin/true
lychee:
image: kdelfour/lychee-docker:latest
volumes_from:
- lycheedata
#######################
# static.abesto.net #
# releases.abesto.net #
#######################
static:
image: nginx:latest
volumes:
- $STATIC_DATA:/var/www/html
- $NGINX_LOGDIR:/var/log/nginx
- ./static/etc/nginx/conf.d:/etc/nginx/conf.d
# Pull it all together
haproxy:
image: haproxy:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- ./haproxy/unknown-domain.html:/usr/local/etc/haproxy/unknown-domain.html:ro
- $SSL_CERT:/cert.pem
links:
- blog
- mastermind
- algo
- board
- lychee
- static