-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
40 lines (40 loc) · 960 Bytes
/
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
version: "3.4"
services:
boiler:
restart: always
build:
context: ./
container_name: boiler
depends_on:
- mongo
ports:
- "8080:80" # This is not really needed, you just access it through HTTPS via BOILER_DOMAIN if you are running this composition.
volumes:
- ./config:/app/config
mongo:
container_name: mongo
image: mongo
restart: always
volumes:
- ./data/db:/data/db
authenticator:
restart: always
container_name: authenticator
image: scharkee/open-authenticator
volumes:
- ./config/open-authenticator:/app/config
nginx:
container_name: nginx
restart: always
build:
context: ./nginx-certbot
args:
BOILER_DOMAIN: domain.com
OPENAUTHENTICATOR_DOMAIN: auth.domain.com
environment:
CERTBOT_EMAIL: someemail@mail.com
ports:
- 80:80
- 443:443
volumes:
- ./data/letsencrypt:/etc/letsencrypt