To run server locally you should be fine just with running simple docker image with mounted data volume. By default Tolgee is using H2 database to store the data so you don't need another database to run it.
- mount tolgee_db image into it's directory inside the container
- exposes tolgee container port on port 8085
- disables authentication
- runs the image!
Now you should be able to access Tolgee web application on http://localhost:8085
To run it on company infrastructure it is better to use some more optimized database system. Tolgee supports PostgreSQL. You can run it using docker-compose. To start let's create and enter a folder to store Tolgee related files:
Create a file named
docker-compose.yml containing following content.
To provide a configuration, add following .env file.
Similarly, you can define other configuration properties.
Your initial username is
admin. Initial password is automatically generated and stored in /data/initial.pwd file in the
Tolgee container. You can print it by executing this:
The is now accessible on http://localhost:8090.