Sign inSign up

aguslr/kotatsu-syncserver

By aguslr

•Updated over 1 year ago

Set up the server for the connected mode in Kotatsu

Image
0

1.7K

aguslr/kotatsu-syncserver repository overview

⁠aguslr/docker-kotatsu-syncserver⁠

docker-pulls image-size

This Docker image sets up Kotatsu Sync Server inside a docker container.

Kotatsu Sync Server⁠ is the server for the connected mode in Kotatsu⁠.

⁠Installation

To use docker-kotatsu-syncserver with an external database⁠, follow these steps:

  1. Download the database schema⁠ 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
    

Tag summary

Content type

Image

Digest

sha256:7b0cd060c…

Size

341.5 MB

Last updated

over 1 year ago

docker pull aguslr/kotatsu-syncserver