Files
imf-sms-dashboard/docker-compose.yml
2026-06-06 00:03:51 +01:00

41 lines
673 B
YAML

services:
db:
image: mariadb:11
volumes:
- imf_db:/var/lib/mysql
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
ports:
- "3306:3306"
env_file:
- .env
environment:
TZ: "${TZ:-Europe/London}"
web:
build: .
volumes:
- ./web:/var/www/html
ports:
- "8000:80"
env_file:
- .env
environment:
TZ: "${TZ:-Europe/London}"
depends_on:
- db
worker:
build:
context: ./python
dockerfile: Dockerfile
env_file:
- .env
environment:
TZ: "${TZ:-Europe/London}"
depends_on:
- db
restart: unless-stopped
volumes:
imf_db: