forked from lambdaspace/website-dockerfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (56 loc) · 1.3 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
version: '2'
services:
website:
build:
context: .
dockerfile: Website-Dockerfile
links:
- mqtt
expose:
- "80"
- "443"
volumes:
- /etc/letsencrypt/live/www.lambdaspace.gr:/etc/letsencrypt/live/www.lambdaspace.gr:ro
- /etc/letsencrypt/archive/www.lambdaspace.gr:/etc/letsencrypt/archive/www.lambdaspace.gr:ro
restart: always
redirector:
image: nginx:stable-alpine
volumes:
- ./redirector-nginx.conf:/etc/nginx/nginx.conf:ro
- /etc/letsencrypt/live/techministry.rocks:/etc/letsencrypt/live/techministry.rocks:ro
- /etc/letsencrypt/archive/techministry.rocks:/etc/letsencrypt/archive/techministry.rocks:ro
expose:
- "80"
- "443"
restart: always
proxy:
build:
context: .
dockerfile: HAProxy-Dockerfile
links:
- website
- redirector
external_links:
- app:discourse
ports:
- "80:80"
- "443:443"
restart: always
ministerin:
build:
context: .
dockerfile: MinisterIN-Dockerfile
ports:
- "7777:7777"
depends_on:
- mqtt
restart: always
mqtt:
build:
context: .
dockerfile: MQTT-Dockerfile
volumes:
- ./credentials/mqtt:/var/local/mosquitto:ro
ports:
- "8883:8883"
restart: always