https://github.com/aguslr/docker-kotatsu-syncserver
Set up the server for the connected mode in Kotatsu
https://github.com/aguslr/docker-kotatsu-syncserver
docker kotatsu kotatsu-syncserver podman
Last synced: 12 months ago
JSON representation
Set up the server for the connected mode in Kotatsu
- Host: GitHub
- URL: https://github.com/aguslr/docker-kotatsu-syncserver
- Owner: aguslr
- License: gpl-3.0
- Created: 2025-03-16T15:20:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T16:22:13.000Z (over 1 year ago)
- Last Synced: 2025-03-16T16:34:14.563Z (over 1 year ago)
- Topics: docker, kotatsu, kotatsu-syncserver, podman
- Language: Dockerfile
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[aguslr/docker-kotatsu-syncserver][1]
=====================================
[](https://hub.docker.com/r/aguslr/kotatsu-syncserver) [](https://hub.docker.com/r/aguslr/kotatsu-syncserver)
This *Docker* image sets up *Kotatsu Sync Server* inside a docker container.
> **[Kotatsu Sync Server][2]** is the server for the connected mode in
> [Kotatsu][3].
Installation
------------
To use *docker-kotatsu-syncserver* with an [external database][4], follow these
steps:
1. Download the [database schema][5] to initialize your database:
mariadb -h your_mysql_db_host -u user your_mysql_db_user < ./database.sql
2. Clone and start the container:
docker run -p 8080:8080 \
-e DATABASE_HOST=your_mysql_db_host \
-e DATABASE_USER=your_mysql_db_user \
-e DATABASE_PASSWORD=your_mysql_db_password \
-e DATABASE_NAME=your_mysql_db_name \
-e DATABASE_PORT=your_mysql_db_port \
docker.io/aguslr/kotatsu-syncserver:latest
3. Connect from your *Kotatsu* app to your *Kotatsu Sync Server*'s IP address on
port `8080`.
Build locally
-------------
Instead of pulling the image from a remote repository, you can build it locally:
1. Clone the repository:
git clone https://github.com/aguslr/docker-kotatsu-syncserver.git
2. Change into the newly created directory and use `docker-compose` to build and
launch the container:
cd docker-kotatsu-syncserver && docker-compose up --build -d
[1]: https://github.com/aguslr/docker-kotatsu-syncserver
[2]: https://github.com/KotatsuApp/kotatsu-syncserver
[3]: https://github.com/KotatsuApp/Kotatsu
[4]: https://kotatsu.app/dev/sync-server/
[5]: https://raw.githubusercontent.com/KotatsuApp/kotatsu-syncserver/refs/heads/master/database.sql