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:
booked:
image: booked-scheduler/booked:latest
container_name: booked_scheduler
ports:
- "8080:80"
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_NAME=booked_db
- DB_USER=booked_user
- DB_PASSWORD=secret
depends_on:
- db
restart: unless-stopped
db:
image: postgres:13
container_name: booked_db
environment:
POSTGRES_USER: booked_user
POSTGRES_PASSWORD: secret
POSTGRES_DB: booked_db
volumes:
- booked_db_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
booked_db_data: