From 22fac48796ecc934fa55a6ff6fedf2438f4fed2e Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 13 May 2024 21:51:06 +0300 Subject: [PATCH] update compose prod sample --- compose.prod.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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