forked from martin12333/speaker.app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
35 lines (31 loc) · 987 Bytes
/
docker-compose.prod.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
###
# speaker.app production Docker Compose.
###
version: "3.8"
# IMPORTANT! This Docker Compose configuration must also be included with docker-compose.yml
volumes:
letsencrypt-cache:
services:
# TODO: Implement wildcard cert so that www subdomain can be used
# https://letsencrypt.org/docs/faq/#does-let-s-encrypt-issue-wildcard-certificates
letsencrypt:
image: linuxserver/swag
container_name: letsencrypt
restart: unless-stopped
cap_add:
- NET_ADMIN
networks:
- zen-rtc-service-network
environment:
PUID: 1000
PGID: 1000
TZ: ${LETSENCRYPT_TZ}
URL: ${LETSENCRYPT_URL}
VALIDATION: ${LETSENCRYPT_VALIDATION}
STAGING: 0 # false issues a valid cert; true is subject to increased rate limits
volumes:
- letsencrypt-cache:/config # Named volume (see volumes: ...)
- ./letsencrypt/config/site-confs:/config/nginx/site-confs:ro # Relative mount point
ports:
- 443:443
- 80:80