This commit is contained in:
parent
5fb8add833
commit
454cc6d5d0
@ -2,41 +2,69 @@
|
|||||||
networks:
|
networks:
|
||||||
traefik_front_network:
|
traefik_front_network:
|
||||||
external: true
|
external: true
|
||||||
back_network_:
|
back_network_gotify:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
attachable: true
|
attachable: true
|
||||||
|
|
||||||
#### SERVICES
|
#### SERVICES
|
||||||
services:
|
services:
|
||||||
### hello_world
|
### gotify
|
||||||
hello_world:
|
gotify:
|
||||||
container_name: gitea-app
|
container_name: gotify-app
|
||||||
hostname: gitea-app
|
hostname: gotify-app
|
||||||
image: hello-world
|
image: gotify/server:latest
|
||||||
|
# ports:
|
||||||
|
# - 8185:80
|
||||||
environment:
|
environment:
|
||||||
restart: always
|
- TZ='Europe/Paris'
|
||||||
networks:
|
- GOTIFY_SERVER_PORT=80
|
||||||
# - back_network_gitea
|
- GOTIFY_SERVER_KEEPALIVEPERIODSECONDS=0
|
||||||
- traefik_front_network
|
- GOTIFY_SERVER_LISTENADDR=
|
||||||
|
- GOTIFY_SERVER_SSL_ENABLED=false
|
||||||
|
- GOTIFY_SERVER_SSL_REDIRECTTOHTTPS=true
|
||||||
|
- GOTIFY_SERVER_SSL_LISTENADDR=
|
||||||
|
- GOTIFY_SERVER_SSL_PORT=443
|
||||||
|
- GOTIFY_SERVER_SSL_CERTFILE=
|
||||||
|
- GOTIFY_SERVER_SSL_CERTKEY=
|
||||||
|
- GOTIFY_SERVER_SSL_LETSENCRYPT_ENABLED=false
|
||||||
|
- GOTIFY_SERVER_SSL_LETSENCRYPT_ACCEPTTOS=false
|
||||||
|
- GOTIFY_SERVER_SSL_LETSENCRYPT_CACHE=certs
|
||||||
|
# - GOTIFY_SERVER_SSL_LETSENCRYPT_HOSTS=[mydomain.tld, myotherdomain.tld]
|
||||||
|
# - GOTIFY_SERVER_RESPONSEHEADERS={X-Custom-Header: "custom value", x-other: value}
|
||||||
|
# - GOTIFY_SERVER_TRUSTEDPROXIES=[127.0.0.1,192.168.178.2/24]
|
||||||
|
# - GOTIFY_SERVER_CORS_ALLOWORIGINS=[.+\.example\.com, otherdomain\.com]
|
||||||
|
# - GOTIFY_SERVER_CORS_ALLOWMETHODS=[GET, POST]
|
||||||
|
# - GOTIFY_SERVER_CORS_ALLOWHEADERS=[X-Gotify-Key, Authorization]
|
||||||
|
# - GOTIFY_SERVER_STREAM_ALLOWEDORIGINS=[.+.example\.com, otherdomain\.com]
|
||||||
|
- GOTIFY_SERVER_STREAM_PINGPERIODSECONDS=45
|
||||||
|
- GOTIFY_DATABASE_DIALECT=sqlite3
|
||||||
|
- GOTIFY_DATABASE_CONNECTION=data/gotify.db
|
||||||
|
- GOTIFY_DEFAULTUSER_NAME=admin
|
||||||
|
- GOTIFY_DEFAULTUSER_PASS=admin
|
||||||
|
# - GOTIFY_DEFAULTUSER_PASS=custom
|
||||||
|
- GOTIFY_PASSSTRENGTH=10
|
||||||
|
- GOTIFY_UPLOADEDIMAGESDIR=data/images
|
||||||
|
- GOTIFY_PLUGINSDIR=data/plugins
|
||||||
|
- GOTIFY_REGISTRATION=false
|
||||||
volumes:
|
volumes:
|
||||||
|
- "./data:/app/data"
|
||||||
|
networks:
|
||||||
|
- traefik_front_network
|
||||||
|
- back_network_gotify
|
||||||
labels:
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=traefik_front_network"
|
- "traefik.docker.network=traefik_front_network"
|
||||||
# HTTP
|
# HTTP
|
||||||
- "traefik.http.routers.hello-world-http.rule=Host(`hello-world.tips-of-mine.com`)"
|
- "traefik.http.routers.gotify-http.rule=Host(`gotify.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.hello-world-http.entrypoints=http"
|
- "traefik.http.routers.gotify-http.entrypoints=http"
|
||||||
- "traefik.http.routers.hello-world-http.priority=49"
|
- "traefik.http.routers.gotify-http.priority=49"
|
||||||
# HTTPS
|
# HTTPS
|
||||||
- "traefik.http.routers.hello-world-https.rule=Host(`hello-world.tips-of-mine.com`)"
|
- "traefik.http.routers.gotify-https.rule=Host(`gotify.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.hello-world-https.entrypoints=https"
|
- "traefik.http.routers.gotify-https.entrypoints=https"
|
||||||
- "traefik.http.routers.hello-world-https.tls=true"
|
- "traefik.http.routers.gotify-https.tls=true"
|
||||||
- "traefik.http.routers.hello-world-https.priority=50"
|
- "traefik.http.routers.gotify-https.priority=50"
|
||||||
- "traefik.http.routers.gitea.service=gitea-https-service"
|
- "traefik.http.routers.gotify.service=gotify-service"
|
||||||
# Middleware
|
# Middleware
|
||||||
# Service
|
# Service
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.server.port=3000"
|
- "traefik.http.services.gotify-service.loadbalancer.server.port=80"
|
||||||
# - "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"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user