Add web frontend container and update telegram container env

This commit is contained in:
xbgmsharp
2023-06-07 12:22:20 +02:00
parent 4f31831c94
commit fab496ea3d
2 changed files with 20 additions and 1 deletions

View File

@@ -91,9 +91,27 @@ services:
env_file: .env
environment:
- BOT_TOKEN=${PGSAIL_TELEGRAM_BOT_TOKEN}
- PGSAIL_URL=${PGSAIL_APP_URL}
- PGSAIL_URL=${PGSAIL_API_URL}
depends_on:
- db
- api
logging:
options:
max-size: 10m
web:
image: xbgmsharp/postgsail-vuestic
container_name: web
restart: unless-stopped
volumes:
- /etc/resolv.conf:/etc/resolv.conf:ro
ports:
- "3006:8080"
network_mode: "host"
env_file: .env
depends_on:
- db
- api
logging:
options:
max-size: 10m