Admin and Gallery and event change

This commit is contained in:
2026-09-24 12:29:46 +05:30
parent a91b957579
commit aea69de410
27 changed files with 1815 additions and 126 deletions
+11
View File
@@ -10,6 +10,14 @@ services:
- "9022:3000"
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
# Admin panel login (/admin). Set these in a .env file next to this compose file.
- ADMIN_USERNAME=${ADMIN_USERNAME}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- ADMIN_SECRET=${ADMIN_SECRET}
volumes:
# keeps gallery / meeting / events edits and uploaded photos across rebuilds
- rotary-data:/app/data
# healthcheck: hits the site root to confirm the container is actually serving
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"]
@@ -34,3 +42,6 @@ services:
- .:/app
- /app/node_modules
- /app/.next
volumes:
rotary-data: