Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.27 KB

weblate-docker-compose

Build Status

The docker-compose for Docker container for Weblate

Documentation

Detailed documentation is available in Weblate documentation:

https://docs.weblate.org/en/latest/admin/deployments.html#docker

Getting started

  1. Create a docker-compose.override.yml file with your settings.

    version: '3'
    services:
      weblate:
        environment:
          - WEBLATE_EMAIL_HOST=smtp.example.com
          - WEBLATE_EMAIL_HOST_USER=user
          - WEBLATE_EMAIL_HOST_PASSWORD=pass
          - WEBLATE_ALLOWED_HOSTS=your hosts
          - WEBLATE_ADMIN_PASSWORD=password for admin user
  2. Build the instances

     docker-compose build
    
  3. Start up

     docker-compose up
    
  4. For more detailed instructions visit https://docs.weblate.org/en/latest/admin/deployments.html#docker

Volumes

    ./weblate-data for application data
    ./postgres-data for database
    ./redis-data for cache

Rebuilding the weblate docker image

The docker-compose files can be found in https://github.com/WeblateOrg/docker-compose. The weblate docker image is built from https://github.com/WeblateOrg/docker.