.yml -> .yaml
This commit is contained in:
parent
1ec58a10d4
commit
7279abb9b0
1 changed files with 0 additions and 0 deletions
21
www/docker-compose.yaml
Normal file
21
www/docker-compose.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
version: "3.3"
|
||||
|
||||
services:
|
||||
|
||||
app:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ${HTML}:/usr/share/nginx/html:ro
|
||||
networks:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.web-secure.entrypoints=websecure"
|
||||
- "traefik.http.routers.web-secure.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
|
||||
- "traefik.http.routers.web-secure.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Loading…
Add table
Add a link
Reference in a new issue