-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.standalone.yml
More file actions
39 lines (33 loc) · 1008 Bytes
/
docker-compose.standalone.yml
File metadata and controls
39 lines (33 loc) · 1008 Bytes
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.3"
services:
ncm:
image: netfloex/nginx:standalone-v2.4.0
container_name: ncm
environment:
CERTBOT_EMAIL: EMAIL # Required
TZ: Europe/Amsterdam
WATCH_CONFIG_FILE: "true"
volumes:
# Shared Volumes
- letsencrypt:/etc/letsencrypt
- nginx:/etc/nginx # Must be a volume
- ./data:/app/data # Needed when using custom files, auth or cloudflare
- ./config:/app/config
nginx:
image: nginx:stable-alpine
container_name: nginx
restart: unless-stopped
environment:
TZ: Europe/Amsterdam
ports:
- 80:80
- 443:443
volumes:
# Shared Volumes
- letsencrypt:/etc/letsencrypt
- nginx:/etc/nginx
- ./data:/app/data # Needed when using custom files, auth or cloudflare
# - ./logs:/var/log/nginx
volumes:
letsencrypt:
nginx: