Newer
Older
#This is the production compose file, if you want to develop use the docker-compose-test file.
version: '2.1'
services:
url_shorter:
image: docker.jonasled.de/url_shorter/url_shorter:latest
volumes:
- url_shorter_db:/app/db #Used to store the database
ports:
- "5000:5000"
environment:
- domains=192.168.233.136:5000;google.de #List of domains (with port if not 80/443) seperated with ";"
- show_build_date=0 #Normaly disable this
- production=1 #You should only disable this for debugging
- url_scheme=http #If you use a reverse Proxy with https set this to https
- recaptcha_private= #Please enter here your private Key for google recaptcha
- recaptcha_public= #Please enter here your public Key for google recaptcha