-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (26 loc) · 979 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
version: '3'
services:
web:
build: .
restart: always
volumes:
- "./send-form.php:/var/www/html/send-form.php"
- "./assets:/var/www/html/assets"
- "./config:/var/www/html/config"
- "./content:/var/www/html/content"
- "./themes/cmdev:/var/www/html/themes/cmdev"
env_file:
- mail.env
labels:
traefik.enable: "true"
traefik.http.routers.cmdsite.rule: "Host(`cmd-ev.de`) || Host(`www.cmd-ev.de`)"
traefik.http.routers.cmdsite.entrypoints: "web"
traefik.http.routers.cmdsite.middlewares: "redirect-to-https@file, add-sts-with-subdomains@file"
traefik.http.routers.cmdsitesecure.rule: "Host(`cmd-ev.de`) || Host(`www.cmd-ev.de`)"
traefik.http.routers.cmdsitesecure.tls.certresolver: "le"
traefik.http.routers.cmdsitesecure.entrypoints: "websecure"
traefik.http.routers.cmdsitesecure.middlewares: "add-sts-with-subdomains@file"
networks:
default:
external:
name: web