clone code with GIT and deploy from Docker compose
git clone ... OR unpack release source code zip (tar.gz)
docker-compose up
The container can be customized in runtime by setting environment from docker's command line or as a part of docker-compose.yml
FILE_DB
- path to sqlite database, default /srv/data/mock.dbFILE_LOG
- path to sqlite database, default /srv/data/mock.log
from https://github.com/umputun/baseimage/blob/master/README.md
TIME_ZONE
- set container's TZ, default "America/Chicago". For scratch-basedTZ
should be used insteadAPP_UID
- UID of internalapp
user, default 1001
http://localhost:8080/<route>
8080 default port, edit docker-compose.yml
for change it
http://localhost:8080/admin