41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: "3.8"
|
|
services:
|
|
app:
|
|
image: dorianim/mrbs:v1.11.6-1
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
secrets:
|
|
- db_password
|
|
volumes:
|
|
- mrbs-config:/config
|
|
ports:
|
|
- 8888:80
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
|
- "coop-cloud.${STACK_NAME}.version=1.0.0+v1.11.6-1"
|
|
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 1m
|
|
|
|
networks:
|
|
internal:
|
|
proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
mrbs-config: |