Uploading docker files

This commit is contained in:
2025-08-09 09:24:29 +02:00
commit b8ef06265c
19 changed files with 796 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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: