compose: add ability to override image versions

Useful for local development, overriding to latest is possible now
without changing the compose file itself.
This commit is contained in:
Saúl Ibarra Corretgé
2022-06-10 13:14:46 +02:00
parent 7c29b57914
commit 1463df4c09
5 changed files with 22 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ services:
# Etherpad: real-time collaborative document editing
etherpad:
image: etherpad/etherpad:1.8.6
restart: ${RESTART_POLICY}
restart: ${RESTART_POLICY:-unless-stopped}
environment:
- TITLE=${ETHERPAD_TITLE}
- DEFAULT_PAD_TEXT=${ETHERPAD_DEFAULT_PAD_TEXT}