rstack-online/docker-compose.yml

29 lines
769 B
YAML

services:
rstack:
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.rstack.rule=Host(`rstack.online`) || Host(`www.rstack.online`)
|| HostRegexp(`{subdomain:[a-z0-9-]+}.rstack.online`)
- traefik.http.routers.rstack.priority=130
- traefik.http.routers.rstack.entrypoints=web
- traefik.http.services.rstack.loadbalancer.server.port=80
healthcheck:
test:
- CMD
- wget
- --no-verbose
- --tries=1
- --spider
- http://127.0.0.1:80/
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
networks:
- traefik-public
image: localhost:3000/jeffemmett/rstack-online:${IMAGE_TAG:-latest}
networks:
traefik-public:
external: true