This repository holds the source code that powers SeaDex.
To deploy SeaDex, you need docker. SeaDex images are available on ghcr.io.
---
services:
seadex:
image: ghcr.io/seadex-moe/seadex:latest
container_name: seadex
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /host/path/to/pocketbase/database:/app/pb/pb_data
ports:
- 59991:59991
restart: unless-stoppedOnce running, you can access SeaDex at http://localhost:59991. The admin panel is available at http://localhost:59991/_/.
Setting up Discord authentication is required to add, remove, or edit entries.
- Go to https://discord.com/developers/applications.
- Click on
New Applicationand give it whatever name you want. - Go to
OAuth2on the left pane. - From
Client information, copy theClIENT IDandCLIENT SECRET. - In
Redirects, addhttp://localhost:59991/api/oauth2-redirect. - Go to http://localhost:59991/_/#/settings/auth-providers, select
Discord, and paste theCLIENT IDandCLIENT SECRETyou copied earlier.
Docker is required for development. Just make your changes to either of these:
pb/- Pocketbase backendsk/- SvelteKit frontend
Once you're done making your changes, run docker compose up -d to have your local instance up and running.
Distributed under the MIT License. See LICENSE for more information.