This Docker image sets up TimeLimit Server inside a docker container.
TimeLimit Server is the server for the connected mode in TimeLimit.
To use docker-timelimit-server with an external database, follow these steps:
-
Clone and start the container:
docker run -p 8080:8080 \ -e DATABASE_URL=mariadb://user:pass@example.com:3306/dbname \ docker.io/aguslr/timelimit-server:latest
-
Connect from your TimeLimit app to your TimeLimit 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-timelimit-server.git
-
Change into the newly created directory and use
docker-compose
to build and launch the container:cd docker-timelimit-server && docker-compose up --build -d