diff --git a/docker-compose.yml b/docker-compose.yml index c05a025..4dde71f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,28 @@ services: rstack: - build: . 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.services.rstack.loadbalancer.server.port=80" + - 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/"] + 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 - + - traefik-public + image: localhost:3000/jeffemmett/rstack-online:${IMAGE_TAG:-latest} networks: traefik-public: external: true