Add optional compose file for `lib` persistence

This commit is contained in:
3wc 2022-12-29 11:56:42 -08:00
parent 777cb6263e
commit 3b6879415f
2 changed files with 16 additions and 1 deletions

View File

@ -5,8 +5,13 @@ DOMAIN=federatedwiki.example.com
#EXTRA_DOMAINS=', `www.federatedwiki.example.com`'
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
# Predefined "owner" security
#COMPOSE_FILE="compose.yml:compose.owner.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.owner.yml"
# Persistent "lib" volume
#COMPOSE_FILE="$COMPOSE_FILE:compose.lib.yml"
COOKIE_SECRET="asflkjqpweoriuwpeogdjgbpdofigh"
AUTHOR="Baja Colorado"

10
compose.lib.yml Normal file
View File

@ -0,0 +1,10 @@
---
version: "3.8"
services:
app:
volumes:
- "fedwiki_lib:/home/node/lib"
volumes:
fedwiki_lib: