-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
39 lines (38 loc) · 1.16 KB
/
compose.yml
File metadata and controls
39 lines (38 loc) · 1.16 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
services:
certbot:
image: humblebeeai/certbot:3.1.1-251025
restart: unless-stopped
environment:
TERM: ${TERM:-xterm}
TZ: ${TZ:-Asia/Seoul}
CERTBOT_EMAIL: ${CERTBOT_EMAIL}
CERTBOT_DOMAINS: ${CERTBOT_DOMAINS}
CERTBOT_DNS_TIMEOUT: ${CERTBOT_DNS_TIMEOUT:-30}
env_file:
- path: .env
required: false
volumes:
- "./volumes/storage/nginx/www/.well-known/acme-challenge:/var/www/.well-known/acme-challenge"
- "./volumes/storage/nginx/ssl:/etc/letsencrypt"
network_mode: host
tty: true
nginx:
image: humblebeeai/nginx:3.2.1-251025
depends_on:
- certbot
restart: unless-stopped
environment:
TERM: ${TERM:-xterm}
TZ: ${TZ:-Asia/Seoul}
env_file:
- path: .env
required: false
volumes:
- "./volumes/storage/nginx/logs:/var/log/nginx"
- "./volumes/storage/nginx/www:/var/www"
- "./volumes/storage/nginx/ssl:/etc/nginx/ssl"
- "./volumes/storage/nginx/configs/sites-enabled:/etc/nginx/sites-enabled"
- "./volumes/storage/nginx/configs/templates:/etc/nginx/templates"
network_mode: host
command: ["--https=lets"]
tty: true