-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
43 lines (40 loc) · 1.18 KB
/
docker-compose.yml
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
version: '3.5'
services:
# proxy:
# restart: unless-stopped
# image: nginxproxy/nginx-proxy
# ports:
# - "80:80"
# - "443:443"
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
# - ./.docker/data/nginx/certs:/etc/nginx/certs
# - ./.docker/data/nginx/dhparam:/etc/nginx/dhparam
# environment:
# - DHPARAM_GENERATION=false
# labels:
# - com.github.kanti.local_https.nginx_proxy=true
companion:
build:
context: .
args:
BUILD_STAGE: dev
stop_signal: SIGKILL
entrypoint: tail -f /dev/null
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./.docker/data/letsencrypt:/etc/letsencrypt
- ./.docker/data/nginx/certs:/etc/nginx/certs
- .:/app
- /etc/hosts:/wsl-hosts-file/hosts
- /home/user/www/global/.docker/data/windows-hosts-file:/windows-hosts-file/
environment:
- DNS_CLOUDFLARE_API_TOKEN=${DNS_CLOUDFLARE_API_TOKEN:?must be set}
- HTTPS_MAIN_DOMAIN=${HTTPS_MAIN_DOMAIN:?must be set}
- SLACK_TOKEN=${SLACK_TOKEN:-}
- SENTRY_DSN=${SENTRY_DSN:?must be set}
networks:
default:
name: global
external: true