Set up the server for the connected mode in Kotatsu
1.6K
This Docker image sets up Kotatsu Sync Server inside a docker container.
Kotatsu Sync Server is the server for the connected mode in Kotatsu.
To use docker-kotatsu-syncserver with an external database, follow these steps:
Download the database schema to initialize your database:
mariadb -h your_mysql_db_host -u user your_mysql_db_user < ./database.sql
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
Connect from your Kotatsu app to your Kotatsu Sync Server's IP address on
port 8080.
Instead of pulling the image from a remote repository, you can build it locally:
Clone the repository:
git clone https://github.com/aguslr/docker-kotatsu-syncserver.git
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
Content type
Image
Digest
sha256:7b0cd060c…
Size
341.5 MB
Last updated
over 1 year ago
docker pull aguslr/kotatsu-syncserver