Added working traefik configuration/labels for containers
Added new host 'mii' Added uptime kuma in docker Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
38
roles/docker/templates/mii/compose.yaml
Normal file
38
roles/docker/templates/mii/compose.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
version: '3'
|
||||
services:
|
||||
swag:
|
||||
image: lscr.io/linuxserver/swag:latest
|
||||
container_name: swag
|
||||
networks:
|
||||
net: {}
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- PUID={{ puid }}
|
||||
- PGID={{ pgid }}
|
||||
- TZ={{ timezone }}
|
||||
- URL={{ remote_domain }}
|
||||
- VALIDATION=http
|
||||
- SUBDOMAINS=www, #optional
|
||||
- CERTPROVIDER= #optional
|
||||
- DNSPLUGIN=cloudflare #optional
|
||||
- PROPAGATION= #optional
|
||||
- EMAIL= #optional
|
||||
- ONLY_SUBDOMAINS=false #optional
|
||||
- EXTRA_DOMAINS= #optional
|
||||
- STAGING=false #optional
|
||||
volumes:
|
||||
- "{{ swag_config }}:/config"
|
||||
ports:
|
||||
- "{{ swag_port }}:443"
|
||||
- 80:80 #optional
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
net:
|
||||
driver: bridge
|
||||
ipam:
|
||||
# driver: default
|
||||
config:
|
||||
- subnet: 172.16.69.0/24
|
||||
gateway: 172.16.69.1
|
||||
Reference in New Issue
Block a user