WIP: Switch to NixOS #5
1 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,13 @@ image = "traefik:latest"
|
||||||
container_name = "traefik"
|
container_name = "traefik"
|
||||||
restart = "unless-stopped"
|
restart = "unless-stopped"
|
||||||
ports = ["80:80", "443:443/tcp", "443:443/udp"]
|
ports = ["80:80", "443:443/tcp", "443:443/udp"]
|
||||||
environment = ["TZ=Europe/Helsinki"]
|
environment = [
|
||||||
|
"TZ=Europe/Helsinki",
|
||||||
|
"CF_API_EMAIL",
|
||||||
|
"CF_API_KEY",
|
||||||
|
"CF_ZONE_API_TOKEN",
|
||||||
|
"CF_DNS_API_TOKEN",
|
||||||
|
]
|
||||||
security_opt = ["no-new-privileges:true"]
|
security_opt = ["no-new-privileges:true"]
|
||||||
networks = ["proxy"]
|
networks = ["proxy"]
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue