Public Repository

Last pushed: 2 years ago
Short Description
SayIt — Transcript for the modern internet
Full Description

Work In Progress

This is a systemd-based image. To run it in unprivileged mode, see tozd/ubuntu-systemd for preparation steps on the host.

Afterward, simply run this:

docker run -d --name xxx -p 80:80 \
  -v /tmp/cgroup:/sys/fs/cgroup:ro -v /tmp/run:/run:rw \
    audreyt/sayit

Then connect to the external host's port 80 and login with root / password.

To enter the container and import an Akoma Ntoso file, use:

docker exec -it xxx /bin/bash
# in the instance...
source /usr/local/virtualenv-sayit/bin/activate
cd /usr/local/sayit
wget http://audreyt.org/722.xml
wget -O /dev/null --quiet --retry-connrefused --tries=60 http://localhost:9200
./manage.py load_akomantoso --file 722.xml --commit --instance=default

To remove the container, user:

docker rm -f xxx

TODO: Require passing in an environment variable as the superuser password.

Docker Pull Command
Owner
audreyt

Comments (0)