-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 1019 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 1019 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
services:
reverse-proxy:
image: jwilder/nginx-proxy
container_name: reverse-proxy
environment:
- TRUST_DOWNSTREAM_PROXY=true
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx/conf.d/00-proxy.conf:/etc/nginx/conf.d/00-proxy.conf:ro
- ./nginx/vhost.d/default:/etc/nginx/vhost.d/default:ro
- ./nginx/html:/usr/share/nginx/html:ro
- ./nginx/certs:/etc/nginx/certs:ro
networks:
- reverse-proxy
# acme-companion:
# image: nginxproxy/acme-companion
# container_name: acme-companion
# volumes_from:
# - reverse-proxy
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro
# - ./nginx/certs:/etc/nginx/certs:rw
# - ./nginx/acme:/etc/acme.sh
# environment:
# - DEFAULT_EMAIL=your-email@example.com
# networks:
# - reverse-proxy
# depends_on:
# - reverse-proxy
networks:
reverse-proxy:
external: true
name: reverse-proxy