forked from AzuraCast/AzuraCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.multisite.yml
40 lines (37 loc) · 1.06 KB
/
docker-compose.multisite.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
services:
web:
environment:
VIRTUAL_HOST: ${LETSENCRYPT_HOST:-azuracast.local}
HTTPS_METHOD: noredirect
nginx_proxy:
container_name: nginx_proxy
image: "ghcr.io/azuracast/nginx_proxy:${AZURACAST_VERSION:-latest}"
ports:
- '80:80'
- '443:443'
volumes:
- letsencrypt:/etc/nginx/certs
- nginx_proxy_vhosts:/etc/nginx/vhost.d
- letsencrypt_html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
environment:
NGINX_TIMEOUT: ${NGINX_TIMEOUT:-1800}
DEFAULT_HOST: ${LETSENCRYPT_HOST:-azuracast.local}
networks:
- frontend
depends_on:
- web
restart: unless-stopped
nginx_proxy_letsencrypt:
container_name: nginx_proxy_letsencrypt
image: "ghcr.io/azuracast/nginx_proxy_letsencrypt:${AZURACAST_VERSION:-latest}"
volumes_from:
- nginx_proxy
volumes:
- letsencrypt_acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always
volumes:
letsencrypt_html: { }
letsencrypt_acme: { }
nginx_proxy_vhosts: { }