OFG_SUPPORT_MAIL=support@our-family-goals.com
Mail server account to send verification mails.
MAIL_URL=smtp://user:pass@yourservice.com:587
OFG_MAIL_FROM=support@our-family-goals.com
This will not create any users
MONGO_URL='mongodb://MONGO_USERNAME:MONGO_PASSWORD@MONGO_HOST:27017/DATABASE?authSource=admin'
APP_ROOT_URL="http://localhost"
docker rm -f our-goals
docker run --name our-goals \
-p 3000:3000 \
-e ROOT_URL=${APP_ROOT_URL:-http://localhost} \
-e MONGO_URL=$MONGO_URL \
-e PORT=3000 \
our-family-goals:latest
By setting the OFG_SEED to "1" when the application start it will create test accounts and family.
Enable seeding configuration
MONGO_URL='mongodb://MONGO_USERNAME:MONGO_PASSWORD@MONGO_HOST:27017/DATABASE?authSource=admin'
APP_ROOT_URL="http://localhost"
docker rm -f our-goals
docker run --name our-goals \
-p 3000:3000 \
-e OFG_SEED=1 \
-e ROOT_URL=${APP_ROOT_URL:-http://localhost} \
-e MONGO_URL=$MONGO_URL \
-e PORT=3000 \
our-family-goals:latest