-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ssl.yaml
More file actions
39 lines (37 loc) · 1.23 KB
/
docker-compose.ssl.yaml
File metadata and controls
39 lines (37 loc) · 1.23 KB
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
version: '3'
services:
swag:
build:
context: ./containers/swag
dockerfile: Dockerfile
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=${PUID:-1001}
- PGID=${PGID:-1002}
- TZ=Etc/UTC
- URL=techcell.cloud
- SUBDOMAINS=${SSL_SUBDOMAINS}
- VALIDATION=http
- CERTPROVIDER=zerossl #optional
- DNSPLUGIN=cloudflare #optional
# - DUCKDNSTOKEN=<token> #optional
- EMAIL=teams@techcell.cloud #optional
- ONLY_SUBDOMAINS=true #optional
# - EXTRA_DOMAINS=<extradomains> #optional
- STAGING=false #optional
volumes:
- ./containers/swag/www:/config/www
- ./containers/swag/nginx/proxy-confs:/config/nginx/proxy-confs
- ./containers/swag/nginx/nginx.conf:/config/nginx/nginx.conf
- ./ssl/letsencrypt:/config/etc/letsencrypt # mount ssl key from container to work dir
ports:
- 80:80
- 443:443
networks:
- the_next_techcell_backend
restart: unless-stopped
networks:
the_next_techcell_backend:
driver: bridge