view trainingdb-usas/Dockerfile @ 47:a0283d218ff5

handle training instances with prefix in directory name. use docker-compose.yml as template instead of linking. set application property to reduce memory requirements
author smith@nwoca.org
date Thu, 04 Feb 2016 22:39:09 +0000
parents 297b56dfba19
children 9129e39b00fa
line wrap: on
line source

FROM docker.ssdt.io/trainingdb

ADD http://files.ssdt.io/usas-training.backup.gz $BACKUP_FILE

RUN chmod a+r $BACKUP_FILE

ENV DB_NAME=usasdb \
    DB_USER=usas \
    DB_PASS=usasdefault