updated omv-svc01.yml
This commit is contained in:
parent
cc77163ce5
commit
3c24395d57
@ -2,6 +2,7 @@ version: "3.8"
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
traefik-data-volume:
|
traefik-data-volume:
|
||||||
|
web-data-volume:
|
||||||
gitea-data-volume:
|
gitea-data-volume:
|
||||||
codepot-data-volume:
|
codepot-data-volume:
|
||||||
drone-data-volume:
|
drone-data-volume:
|
||||||
@ -47,7 +48,6 @@ services:
|
|||||||
#- host-network
|
#- host-network
|
||||||
deploy:
|
deploy:
|
||||||
mode: global
|
mode: global
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 1GB
|
memory: 1GB
|
||||||
@ -56,6 +56,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --log.level=INFO
|
- --log.level=INFO
|
||||||
- --accessLog
|
- --accessLog
|
||||||
|
#- --accesslog.filepath=/config/logs/access.log
|
||||||
- --api.dashboard=true
|
- --api.dashboard=true
|
||||||
- --api.insecure=true
|
- --api.insecure=true
|
||||||
- --ping=true
|
- --ping=true
|
||||||
@ -71,6 +72,40 @@ services:
|
|||||||
- --providers.file.filename=/config/traefik-cert.yml
|
- --providers.file.filename=/config/traefik-cert.yml
|
||||||
- --providers.file.watch=true
|
- --providers.file.watch=true
|
||||||
- --metrics.prometheus=true
|
- --metrics.prometheus=true
|
||||||
|
|
||||||
|
web-service:
|
||||||
|
image: docker.io/hyunghwan/hio:webs
|
||||||
|
hostname: web-service-host
|
||||||
|
networks:
|
||||||
|
- traefik-network
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: web-data-volume
|
||||||
|
target: /data
|
||||||
|
#read_only: true
|
||||||
|
read_only: false
|
||||||
|
logging:
|
||||||
|
driver: "local"
|
||||||
|
options:
|
||||||
|
max-file: "5"
|
||||||
|
max-size: "5m"
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 128MB
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
##- traefik.docker.network=traefik-network
|
||||||
|
- traefik.http.routers.web-secure.entrypoints=websec
|
||||||
|
- traefik.http.routers.web-secure.rule=Host(`miflux.com`) || Host(`www.miflux.com`)
|
||||||
|
- traefik.http.routers.web-secure.tls=true
|
||||||
|
- traefik.http.services.web-service.loadbalancer.server.port=80
|
||||||
|
##- traefik.http.services.web-service.loadbalancer.sticky.cookie=true
|
||||||
|
##- traefik.http.services.web-service.loadbalancer.sticky.cookie.name=web-sticker
|
||||||
|
|
||||||
gitea-service:
|
gitea-service:
|
||||||
image: docker.io/gitea/gitea:1.20.4
|
image: docker.io/gitea/gitea:1.20.4
|
||||||
hostname: gitea-service-host
|
hostname: gitea-service-host
|
||||||
@ -134,6 +169,7 @@ services:
|
|||||||
- traefik.http.middlewares.gitea-to-codepot.redirectregex.regex=^https://code.miflux.com/code/(.*)$
|
- traefik.http.middlewares.gitea-to-codepot.redirectregex.regex=^https://code.miflux.com/code/(.*)$
|
||||||
- traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1}
|
- traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1}
|
||||||
- traefik.http.middlewares.redirect-merisia-benjaminrancourt.redirectregex.permanent=false
|
- traefik.http.middlewares.redirect-merisia-benjaminrancourt.redirectregex.permanent=false
|
||||||
|
|
||||||
codepot-service:
|
codepot-service:
|
||||||
image: docker.io/hyunghwan/codepot:ubnt
|
image: docker.io/hyunghwan/codepot:ubnt
|
||||||
hostname: codepot-service-host
|
hostname: codepot-service-host
|
||||||
|
Loading…
Reference in New Issue
Block a user