You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
647 B
YAML
27 lines
647 B
YAML
version: '3'
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: Docker/Dockerfile
|
|
ports:
|
|
- "5003:5003"
|
|
environment:
|
|
- DB_HOST_1=${DB_HOST_1:-192.168.1.85}
|
|
- DB_HOST_2=${DB_HOST_2:-192.168.1.86}
|
|
- DB_PORT=${DB_PORT:-5432}
|
|
- DB_USER=${DB_USER:-postgres}
|
|
- DB_PASS=${DB_PASS:-postgres}
|
|
- DB_NAME=${DB_NAME:-digital_twin}
|
|
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
|
|
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID}
|
|
volumes:
|
|
- ../.env:/app/.env
|
|
restart: unless-stopped
|
|
networks:
|
|
- app-network
|
|
|
|
networks:
|
|
app-network:
|
|
driver: bridge |