28 lines
629 B
YAML
28 lines
629 B
YAML
|
services:
|
||
|
db:
|
||
|
image: postgres:latest
|
||
|
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
|
||
|
labels:
|
||
|
traefik.enable: "true"
|
||
|
traefik.http.routers.vegapokerbot.entrypoints: web
|
||
|
traefik.http.routers.vegapokerbot.rule: "Host(`example.com`) && PathPrefix(`/webhook`)"
|
||
|
traefik.http.services.vegapokerbot.loadbalancer.server.port: 3333
|
||
|
|
||
|
networks:
|
||
|
default:
|
||
|
driver: bridge
|