docker: make deployment easier

This commit is contained in:
Shyam Sunder
2018-09-23 19:35:42 -04:00
committed by rr-
parent 7081b5be90
commit 987a3aa8f2
5 changed files with 85 additions and 107 deletions

16
example.env Normal file
View File

@ -0,0 +1,16 @@
# Database credentials
POSTGRES_USER=szuru
POSTGRES_PASSWORD=changeme
# This shows up on the homescreen, indicating build information
BUILD_INFO=latest
# Port to expose HTTP service
PORT=8080
# Directory to store image data
MOUNT_DATA=/var/local/szurubooru/data
# Directory to store database files
MOUNT_SQL=/var/local/szurubooru/sql