46 lines
1.9 KiB
YAML
46 lines
1.9 KiB
YAML
name: addideas-toolbox
|
|
|
|
services:
|
|
toolbox:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile.release
|
|
args:
|
|
TOOLBOX_RELEASE_VERSION: "${TOOLBOX_RELEASE_VERSION:-0.9.3}"
|
|
TOOLBOX_RELEASE_SHA256: "${TOOLBOX_RELEASE_SHA256:-e8e6cae8c68bacb71d803e37ff2661389841642db0ccc827fd10655c6cceb18e}"
|
|
image: "git.add-ideas.de/lotobo/toolbox:${TOOLBOX_RELEASE_VERSION:-0.9.3}"
|
|
restart: unless-stopped
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=16m,mode=1777
|
|
- /var/cache/nginx:size=16m,uid=101,gid=101
|
|
- /var/run:size=1m,uid=101,gid=101
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
networks:
|
|
- internal
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.docker.network: "${TRAEFIK_NETWORK:-internal}"
|
|
traefik.http.routers.addideas-toolbox.rule: "Host(`${TOOLBOX_HOST:-toolbox.add-ideas.de}`)"
|
|
traefik.http.routers.addideas-toolbox.priority: 900
|
|
traefik.http.routers.addideas-toolbox.entrypoints: websecure
|
|
traefik.http.routers.addideas-toolbox.tls: "true"
|
|
traefik.http.routers.addideas-toolbox.tls.certresolver: "${TRAEFIK_CERT_RESOLVER:-netcup}"
|
|
traefik.http.routers.addideas-toolbox.service: addideas-toolbox
|
|
traefik.http.routers.addideas-toolbox-http.rule: "Host(`${TOOLBOX_HOST:-toolbox.add-ideas.de}`)"
|
|
traefik.http.routers.addideas-toolbox-http.priority: 900
|
|
traefik.http.routers.addideas-toolbox-http.entrypoints: web
|
|
traefik.http.routers.addideas-toolbox-http.middlewares: addideas-toolbox-https-redirect
|
|
traefik.http.routers.addideas-toolbox-http.service: addideas-toolbox
|
|
traefik.http.middlewares.addideas-toolbox-https-redirect.redirectscheme.scheme: https
|
|
traefik.http.middlewares.addideas-toolbox-https-redirect.redirectscheme.permanent: "true"
|
|
traefik.http.services.addideas-toolbox.loadbalancer.server.port: "8080"
|
|
|
|
networks:
|
|
internal:
|
|
external: true
|
|
name: "${TRAEFIK_NETWORK:-internal}"
|