Getting Started
The quickest way to run FlashAgenda is Docker Compose with the published images from the GitHub Container Registry. You need Docker with the Compose plugin.
1. Create the Compose file
Save the following as docker-compose.yml in an empty folder:
services:
mongodb:
image: mongo:4.4
container_name: flashagenda-mongo
ports:
- "30303:27017"
volumes:
- mongo-data:/data/db
restart: unless-stopped
backend:
image: ghcr.io/marc2016/flashagenda-backend:latest
container_name: flashagenda-backend
ports:
- "30302:3001"
environment:
- MONGO_URI=mongodb://mongodb:27017/flashagenda
- PORT=3001
- ADMIN_PASSWORD=change-me
- ADMIN_JWT_SECRET=change-me-to-a-long-random-string
depends_on:
- mongodb
restart: unless-stopped
frontend:
image: ghcr.io/marc2016/flashagenda-frontend:latest
container_name: flashagenda-frontend
ports:
- "30301:80"
depends_on:
- backend
restart: unless-stopped
volumes:
mongo-data:The frontend container serves the app and forwards /api to the backend. Real-time updates use a WebSocket connection on /socket.io that has to reach the backend directly; in production your reverse proxy takes care of that (see Configuration).
Change the admin credentials
Replace ADMIN_PASSWORD and ADMIN_JWT_SECRET with your own values before exposing the instance. See Configuration.
2. Start it
docker compose up -d3. Open FlashAgenda
Open http://localhost:30301, click the start button to create your first agenda and share the link.
The admin area is available at /admin and uses the ADMIN_PASSWORD from above.
Updating
docker compose pull
docker compose up -dYour data lives in the mongo-data volume and survives updates.
Next steps
- Using FlashAgenda: what you can do with an agenda
- Configuration: environment variables and running behind a reverse proxy