diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b878a33 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +services: + scratchingpost: + build: . + image: scratchingpost:latest + container_name: scratchingpost + restart: unless-stopped + ports: + - "8080:8080" + environment: + # Where the SQLite DB lives inside the container (matches the volume below). + - DataDirectory=/data + # Admin login — override these for anything beyond local testing. + - Admin__Username=admin + - Admin__Password=ScratchingPost2026! + # - MaxUploadSizeMB=20 + volumes: + - ./data:/data # noticeboard.db + - ./uploads:/app/wwwroot/uploads # TinyMCE / background images / uploaded ICS files