1 # A docker-compose recipe for MediaGoblin hacking.
3 # Tested on Trisquel 8. Currently runs Python 3 and works for photos and video.
4 # Audio raises an exception "NameError: name 'audiolab' is not defined".
6 # docker-compose up --build
7 # docker-compose run --rm web bin/python
8 # docker-compose start [service]
9 # docker-compose stop [service]
18 dockerfile: Dockerfile-python3
19 # Is user required here, or does it just pick up from the last USER in Dockerfile?
21 # Consider running dbupdate here (at runtime), rather than in Dockerfile.
22 command: ./lazyserver.sh --server-name=broadcast
24 # Mount your local copy of the source for hecking on MediaGoblin.
25 - ./mediagoblin:/opt/mediagoblin/mediagoblin
27 # Mount your local media/secrets. Requires some initial setup:
29 # $ mkdir user_dev/media user_dev/crypto
30 # $ chmod 777 user_dev/media user_dev_crypto
31 - ./user_dev:/opt/mediagoblin/user_dev