mirror of
https://github.com/ClaperCo/Claper.git
synced 2026-02-24 04:01:04 +01:00
## ⚠️ Breaking changes - S3 variables are now named: S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_REGION and S3_BUCKET - Users now have roles. Refer to the `roles` table and assign a role to a user with the `role_id` column in the `users` table. ## Features - Add Admin Panel to manage users and presentations - Add user roles: user, admin - Add `LANGUAGES` setting to configure available languages in the app - Add hideable presenter attendee count (#183 #155) - Add Hungarian translation (#161) - Add Latvian translation (#163) - Add custom S3 endpoint with `S3_SCHEME`, `S3_HOST`, `S3_PORT` and `S3_PUBLIC_URL` ## Fixes and improvements - Upgrade JS dependencies - Upgrade Elixir dependencies, including Phoenix Live View to 1.0.17 - Upgrade to Tailwind 4+ - Refactor view templates to use {} instead of <%= %> - Fix event name validation to be required - Docker image is now using Ubuntu instead of Alpine for better dependencies support - Fix scrollbar not showing in event manager when no presentation file (#164) (@aryel780) - Fix settings scroll for small screen (#168) - Fix duplicate key quiz when duplicate (#182) - Fix email change confirmation (#172) - Fix italian translation (#179) - Fix random poll choices (#184)
50 lines
924 B
YAML
50 lines
924 B
YAML
services:
|
|
db:
|
|
image: postgres:15
|
|
volumes:
|
|
- "claper-db:/var/lib/postgresql/data"
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- pg_isready
|
|
- "-q"
|
|
- "-d"
|
|
- "claper"
|
|
- "-U"
|
|
- "claper"
|
|
retries: 3
|
|
timeout: 5s
|
|
environment:
|
|
POSTGRES_PASSWORD: claper
|
|
POSTGRES_USER: claper
|
|
POSTGRES_DB: claper
|
|
networks:
|
|
- claper-net
|
|
app:
|
|
image: ghcr.io/claperco/claper:latest # or build: .
|
|
ports:
|
|
- 4000:4000
|
|
volumes:
|
|
- "claper-uploads:/app/uploads"
|
|
healthcheck:
|
|
test: curl --fail http://localhost:4000 || exit 1
|
|
retries: 3
|
|
start_period: 20s
|
|
timeout: 5s
|
|
env_file: .env
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
networks:
|
|
- claper-net
|
|
|
|
volumes:
|
|
claper-db:
|
|
driver: local
|
|
claper-uploads:
|
|
driver: local
|
|
|
|
networks:
|
|
claper-net:
|
|
driver: bridge
|