diff --git a/compose.prod.yml b/compose.prod.yml index c5ac712..bc01968 100644 --- a/compose.prod.yml +++ b/compose.prod.yml @@ -1,29 +1,23 @@ services: db: image: postgres:latest + restart: always environment: POSTGRES_USER: app POSTGRES_PASSWORD: app POSTGRES_DATABASE: app - networks: - - default app: image: "gitea.neur0tx.site/neur0toxine/vegapokerbot:latest" - networks: - - default links: - db env_file: - .env + restart: always labels: traefik.enable: "true" - traefik.http.routers.vegapokerbot.rule: Host(`vegapokerbot.neur0tx.site`) && PathPrefix(`/webhook8c31c4b2d65a87b4f3a6f10f8eb166fba9a2e5dc7696bc5291a7e69641dc5c21`) + traefik.http.routers.vegapokerbot.rule: Host(`vegapokerbot.example.com`) && PathPrefix(`/webhook`) traefik.http.routers.vegapokerbot.entrypoints: websecure traefik.http.services.vegapokerbot.loadbalancer.server.port: "3333" traefik.http.routers.vegapokerbot.tls: true traefik.http.routers.vegapokerbot.tls.certresolver: letsencrypt - -networks: - default: - driver: bridge