update compose prod sample
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel 2024-05-13 21:51:06 +03:00
parent 4fdc64c03b
commit 22fac48796

View File

@ -1,29 +1,23 @@
services: services:
db: db:
image: postgres:latest image: postgres:latest
restart: always
environment: environment:
POSTGRES_USER: app POSTGRES_USER: app
POSTGRES_PASSWORD: app POSTGRES_PASSWORD: app
POSTGRES_DATABASE: app POSTGRES_DATABASE: app
networks:
- default
app: app:
image: "gitea.neur0tx.site/neur0toxine/vegapokerbot:latest" image: "gitea.neur0tx.site/neur0toxine/vegapokerbot:latest"
networks:
- default
links: links:
- db - db
env_file: env_file:
- .env - .env
restart: always
labels: labels:
traefik.enable: "true" 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.routers.vegapokerbot.entrypoints: websecure
traefik.http.services.vegapokerbot.loadbalancer.server.port: "3333" traefik.http.services.vegapokerbot.loadbalancer.server.port: "3333"
traefik.http.routers.vegapokerbot.tls: true traefik.http.routers.vegapokerbot.tls: true
traefik.http.routers.vegapokerbot.tls.certresolver: letsencrypt traefik.http.routers.vegapokerbot.tls.certresolver: letsencrypt
networks:
default:
driver: bridge