forked from coop-cloud/federatedwiki
Add configurable bind-mount option
This commit is contained in:
parent
b28d08551e
commit
98ef8f18d3
|
@ -7,13 +7,16 @@ LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
COMPOSE_FILE="compose.yml"
|
COMPOSE_FILE="compose.yml"
|
||||||
|
|
||||||
|
# Change to an absolute path to use a bind-mount, e.g. /opt/fedwiki
|
||||||
|
FEDWIKI_VOLUME="fedwiki"
|
||||||
|
|
||||||
# custom wiki.cafe image, for working oauth2 support
|
# custom wiki.cafe image, for working oauth2 support
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.wikicafe.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.wikicafe.yml"
|
||||||
|
|
||||||
# Predefined "owner" security
|
# Predefined "owner" security
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.owner.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.owner.yml"
|
||||||
|
|
||||||
# Persistent "lib" volume
|
# persistent lib volume / node_modules directory, e.g. for plugmatic
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.lib.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.lib.yml"
|
||||||
|
|
||||||
COOKIE_SECRET="asflkjqpweoriuwpeogdjgbpdofigh"
|
COOKIE_SECRET="asflkjqpweoriuwpeogdjgbpdofigh"
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
command: /bin/sh config/install.sh
|
command: /bin/sh config/install.sh
|
||||||
volumes:
|
volumes:
|
||||||
- "fedwiki_friends:/home/node/config"
|
- "fedwiki_friends:/home/node/config"
|
||||||
- "fedwiki:/home/node/.wiki"
|
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
configs:
|
configs:
|
||||||
|
|
Loading…
Reference in New Issue