heating-monitor/docker-compose.yml
2024-11-28 22:53:45 +01:00

34 lines
544 B
YAML

name: "heating-monitor"
version: "3.8"
services:
bot:
container_name: bot
hostname: bot
env_file:
- ./.env
build:
context: .
dockerfile: Dockerfile.bot
volumes:
- ./:/code/
stdin_open: true
tty: true
restart: always
web:
container_name: web
hostname: web
env_file:
- ./.env
build:
context: .
dockerfile: Dockerfile.web
volumes:
- ./:/code/
stdin_open: true
tty: true
ports:
- ${WEB_PORT}:${WEB_PORT}
restart: always