-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathdocker-compose.yaml
67 lines (61 loc) · 1.77 KB
/
docker-compose.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
nginx-proxy:
image: nginx:alpine
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- certs:/etc/nginx/certs:ro
docker-gen:
image: nginxproxy/docker-gen
container_name: nginx-proxy-gen
command: -notify-sighup nginx-proxy -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
volumes_from:
- nginx-proxy
volumes:
- ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
labels:
- "com.github.nginx-proxy.docker-gen"
acme-companion:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
environment:
volumes_from:
- nginx-proxy
volumes:
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
draw:
image: excalidraw/excalidraw:latest
restart: unless-stopped
healthcheck:
disable: true
environment:
- VIRTUAL_HOST=draw.ejemplo.com
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=draw.ejemplo.com
- REACT_APP_BACKEND_V1_GET_URL=https://draw.ejemplo.com/api/v1/
- REACT_APP_BACKEND_V2_GET_URL=https://draw.ejemplo.com/api/v2/
- REACT_APP_BACKEND_V2_POST_URL=https://draw.ejemplo.com/api/v2/post
doom:
image: callumhoughton22/doom-in-docker:0.1
restart: unless-stopped
environment:
- VIRTUAL_HOST=doom.ejemplo.com
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=doom.ejemplo.com
volumes:
conf:
vhost:
html:
certs:
acme: