45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
#### NETWORKS
|
|
# networks:
|
|
# traefik_front_network:
|
|
# external: true
|
|
# back_network_:
|
|
# driver: bridge
|
|
# attachable: true
|
|
|
|
#### SERVICES
|
|
services:
|
|
### hello_world
|
|
hello_world:
|
|
container_name: gitea-app
|
|
hostname: gitea-app
|
|
image: hello-world
|
|
# environment:
|
|
restart: always
|
|
# networks:
|
|
# - back_network_gitea
|
|
# - traefik_front_network
|
|
# volumes:
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
# - "traefik.docker.network=traefik_front_network"
|
|
# HTTP
|
|
# - "traefik.http.routers.hello-world-http.rule=Host(`hello-world.tips-of-mine.com`)"
|
|
# - "traefik.http.routers.hello-world-http.entrypoints=http"
|
|
# - "traefik.http.routers.hello-world-http.priority=49"
|
|
# HTTPS
|
|
# - "traefik.http.routers.hello-world-https.rule=Host(`hello-world.tips-of-mine.com`)"
|
|
# - "traefik.http.routers.hello-world-https.entrypoints=https"
|
|
# - "traefik.http.routers.hello-world-https.tls=true"
|
|
# - "traefik.http.routers.hello-world-https.priority=50"
|
|
# - "traefik.http.routers.gitea.service=gitea-https-service"
|
|
# Middleware
|
|
# Service
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.server.port=3000"
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.server.scheme=https"
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.hostname=gitea.traefik.me"
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.method=foobar"
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.timeout=10"
|
|
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.interval=30"
|
|
# - "traefik.tcp.services.gitea-ssh-service.loadbalancer.server.port=22"
|
|
# - "traefik.tcp.services.gitea-ssh-service.loadbalancer.server.tls=true"
|