heating-monitor/docker-compose.yml

34 lines
544 B
YAML
Raw Permalink Normal View History

2024-11-28 22:53:45 +01:00
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