Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

JannKleen/pootle-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pootle Docker Container

This is the source for jannkleen/pootle in the docker index.

Installation

  • The easy way:

    docker pull jannkleen/pootle
    
  • The other way:

    git clone https://github.com/JannKleen/pootle-docker.git
    
    cd pootle-docker
    
    docker build .
    

Running Pootle

You probably want to set up a persistant database so you don't loose all your data and settings every time your container is restarted. This is done using Data Volume Containers (http://docs.docker.io/en/latest/use/working_with_volumes/)

There is a simple bootstrap script which creates the Volume Container for you, just run:

/usr/bin/wget -O - https://raw.github.com/JannKleen/pootle-docker/master/bootstrap.sh | sh -s -

After that you should start your pootle instance by running:

docker run -p 80:8000 --volumes-from POOTLEDB jannkleen/pootle

Notes

  • By default the django instance (run by CherryPy) is listening on port 8000 with ALLOWED_HOSTS set to '*'. This means you can theoretically expose the docker port to external access, although this is probably not a good idea.
  • Pootle computes a lot of stuff when it first starts up, so the first request will take much longer than subsequent ones.
  • Default admin credentials are 'admin':'admin'

About

Docker container for pootle translation service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages