mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-28 23:58:21 +00:00
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:
@@ -15,7 +15,6 @@ services:
|
||||
|
||||
joex:
|
||||
image: eikek0/docspell:joex-LATEST
|
||||
container_name: docspell-joex
|
||||
restart: unless-stopped
|
||||
env_file: ./.env
|
||||
ports:
|
||||
|
Reference in New Issue
Block a user