1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Use environment rather than hardcoding strings, closes #36

This commit is contained in:
Yohann D'ANELLO
2020-03-11 13:24:48 +01:00
parent 06c97d75a0
commit a128ed4803
8 changed files with 35 additions and 13 deletions

View File

@ -133,10 +133,14 @@ Il est possible de travailler sur une instance Docker.
build: /chemin/vers/nk20
volumes:
- /chemin/vers/nk20:/code/
environment:
MAILING_LIST_DOMAIN: lists.example.com
NOTE_URL: nk20.example.com
DOMAIN: example.com
restart: always
labels:
- traefik.domain=ndd.exemple.com
- traefik.frontend.rule=Host:ndd.exemple.com
- traefik.domain=ndd.example.com
- traefik.frontend.rule=Host:ndd.example.com
- traefik.port=8000
3. Enjoy :