Files
Reijnst/Docker compose files/easyappointments/docker-compose.yml
2025-08-09 09:24:29 +02:00

32 lines
721 B
YAML

version: '3.8'
services:
web:
image: alexdoe/easyappointments:latest
container_name: easyappointments_web
ports:
- "8080:80"
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_NAME=easyappointments
- DB_USER=easyappointments_user
- DB_PASSWORD=easyappointments_pass
depends_on:
- db
restart: unless-stopped
db:
image: postgres:13
container_name: easyappointments_db
environment:
POSTGRES_DB: easyappointments
POSTGRES_USER: easyappointments_user
POSTGRES_PASSWORD: easyappointments_pass
volumes:
- easyappointments_db_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
easyappointments_db_data: