Allow scaling joex with docker-compose up --scale

Container name can't be hard coded and each joex instance needs a unique
name. Since Docker always sets the `HOSTNAME` variable and these are
unique, we can just interpolate the hostname into the joex app
identifier, to avoid creating multiple config files.
This commit is contained in:
Bo Jeanes
2021-01-09 10:33:11 +11:00
parent f46eb5f967
commit 36c29812c7
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ services:
joex:
image: eikek0/docspell:joex-LATEST
container_name: docspell-joex
restart: unless-stopped
env_file: ./.env
ports: