Convert rest of docker-compose files to TOML

This commit is contained in:
Marko Korhonen 2022-02-26 13:25:54 +02:00
parent 8aaa911e19
commit d793734621
26 changed files with 479 additions and 529 deletions

View file

@ -0,0 +1,25 @@
[services]
[services.nginx]
image = "fraoustin/fancyindex"
container_name = "index.korhonen.cc"
environment = ["DISABLE_AUTH=true", "CONTAINER_TIMEZONE=\"Europe/Helsinki\""]
volumes = ["/docker/index.korhonen.cc:/share"]
networks = ["proxy"]
restart = "unless-stopped"
labels = [
"traefik.enable=true",
"traefik.http.routers.index-redirect.entrypoints=http",
"traefik.http.routers.index-redirect.rule=Host(`index.korhonen.cc`)",
"traefik.http.routers.index-redirect.middlewares=http2https@file",
"traefik.http.routers.index.entrypoints=https",
"traefik.http.routers.index.rule=Host(`index.korhonen.cc`)",
"traefik.http.routers.index.service=index",
"traefik.docker.network=proxy",
"traefik.http.services.index.loadbalancer.server.port=80",
]
[networks]
[networks.proxy]
external = true

View file

@ -1,28 +0,0 @@
services:
nginx:
image: fraoustin/fancyindex
container_name: index.korhonen.cc
environment:
- DISABLE_AUTH=true
- CONTAINER_TIMEZONE="Europe/Helsinki"
volumes:
- /docker/index.korhonen.cc:/share
networks:
- proxy
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.index-redirect.entrypoints=http"
- "traefik.http.routers.index-redirect.rule=Host(`index.korhonen.cc`)"
- "traefik.http.routers.index-redirect.middlewares=http2https@file"
- "traefik.http.routers.index.entrypoints=https"
- "traefik.http.routers.index.rule=Host(`index.korhonen.cc`)"
- "traefik.http.routers.index.service=index"
- "traefik.docker.network=proxy"
- "traefik.http.services.index.loadbalancer.server.port=80"
networks:
proxy:
external: true