44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
########
|
|
# DOCKER
|
|
|
|
#DOCKER_CONTEXT=
|
|
#DOCKER_HOST= // Pour déployer sur un serveur distant
|
|
SERVICES_DIR=../..
|
|
COMPOSE_FILE=${SERVICES_DIR}/hedgedoc/docker-compose.yml:${SERVICES_DIR}/hedgedoc/docker-compose.traefik.yml:${SERVICES_DIR}/postgres/docker-compose.yml
|
|
COMPOSE_PROJECT_NAME=hedgedoc_example_com
|
|
|
|
##########
|
|
# HEDGEDOC
|
|
|
|
HEDGEDOC_DOMAIN=hedgedoc.example.com
|
|
HEDGEDOC_VOLUME_NAME=hedgedoc_example_com_hedgedoc
|
|
HEDGEDOC_CONTAINER_NAME=hedgedoc_example_com_hedgedoc
|
|
#HEDGEDOC_IMAGE=
|
|
|
|
# https://docs.hedgedoc.org/configuration/
|
|
#NODE_ENV=
|
|
#CMD_PROTOCOL_USESSL=
|
|
#CMD_ALLOW_GRAVATAR=
|
|
#CMD_ALLOW_FREEURL=
|
|
#CMD_ALLOW_EMAIL_REGISTER=
|
|
CMD_SESSION_SECRET=/ADm6sOuQ/EOhUA+xcmkQOtk9QDhggjsFBKQCLKrC6U=
|
|
#CMD_DEFAULT_PERMISSION=
|
|
#PGID=
|
|
#PUID=
|
|
|
|
##########
|
|
# POSTGRES
|
|
|
|
POSTGRES_USER=user
|
|
POSTGRES_PASSWORD=password
|
|
POSTGRES_DB=database
|
|
POSTGRES_VOLUME_NAME=hedgedoc_example_com_postgres
|
|
POSTGRES_CONTAINER_NAME=hedgedoc_example_com_postgres
|
|
#POSTGRES_IMAGE=
|
|
|
|
#########
|
|
# TRAEFIK
|
|
|
|
#TRAEFIK_NETWORK_NAME=
|
|
TRAEFIK_ROUTER_NAME=hedgedoc_example_com # Don't use char '.'
|