2024-05-10 12:10:25 +03:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres:latest
|
2024-05-13 16:57:55 +03:00
|
|
|
restart: always
|
2024-05-10 12:10:25 +03:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: app
|
|
|
|
POSTGRES_PASSWORD: app
|
|
|
|
POSTGRES_DATABASE: app
|
|
|
|
|
|
|
|
app:
|
|
|
|
image: "gitea.neur0tx.site/neur0toxine/vegapokerbot:latest"
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
env_file:
|
|
|
|
- .env
|
2024-05-13 16:57:55 +03:00
|
|
|
restart: always
|
2024-05-10 12:10:25 +03:00
|
|
|
labels:
|
|
|
|
traefik.enable: "true"
|
2024-05-13 16:57:55 +03:00
|
|
|
traefik.http.routers.vegapokerbot.rule: Host(`vegapokerbot.example.com`) && PathPrefix(`/webhook`)
|
2024-05-10 13:29:56 +03:00
|
|
|
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
|