-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 1.28 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
services:
nginx-proxy:
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: unless-stopped
ports:
- '80:80'
- '443:443'
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- dhparam:/etc/nginx/dhparam
- certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
letsencrypt:
image: nginxproxy/acme-companion
container_name: nginx-proxy-le
restart: unless-stopped
volumes:
- certs:/etc/nginx/certs:rw
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
hagall:
image: aukilabs/hagall:stable
container_name: hagall
restart: unless-stopped
volumes:
- './hagall-private.key:/hagall-private.key:ro'
ports:
- 18190:18190
environment:
VIRTUAL_HOST: hagall.example.com
VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: hagall.example.com
HAGALL_ADDR: :8080
HAGALL_PUBLIC_ENDPOINT: https://hagall.example.com
HAGALL_PRIVATE_KEY_FILE: /hagall-private.key
HAGALL_LOG_LEVEL: info
volumes:
conf:
vhost:
html:
dhparam:
certs:
acme: