feat: allow image names in compose to be overridden by env vars

This commit is contained in:
gmega 2025-04-16 14:09:08 -03:00
parent 67ca362ee7
commit 223276f7c8
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18
2 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ services:
interval: 1s
codex-1:
image: codexstorage/nim-codex:latest
image: ${COMPOSE_CODEX_IMAGE:-codexstorage/nim-codex:latest}
container_name: codex-1
environment:
- CODEX_LOG_LEVEL=DEBUG
@ -49,7 +49,7 @@ services:
- "9000:9000"
codex-2:
image: codexstorage/nim-codex:latest
image: ${COMPOSE_CODEX_IMAGE:-codexstorage/nim-codex:latest}
container_name: codex-2
environment:
- CODEX_LOG_LEVEL=DEBUG
@ -77,7 +77,7 @@ services:
- "9001:9001"
codex-3:
image: codexstorage/nim-codex:latest
image: ${COMPOSE_CODEX_IMAGE:-codexstorage/nim-codex:latest}
container_name: codex-3
environment:
- CODEX_LOG_LEVEL=DEBUG

View File

@ -23,7 +23,7 @@ services:
interval: 1s
deluge-1:
image: codexstorage/deluge
image: ${COMPOSE_DELUGE_IMAGE:-codexstorage/deluge}
container_name: deluge-1
environment:
- DELUGE_RPC_PORT=6890
@ -52,7 +52,7 @@ services:
- "9001:9001"
deluge-2:
image: codexstorage/deluge
image: ${COMPOSE_DELUGE_IMAGE:-codexstorage/deluge}
container_name: deluge-2
environment:
- DELUGE_RPC_PORT=6893
@ -81,7 +81,7 @@ services:
- "9002:9002"
deluge-3:
image: codexstorage/deluge
image: ${COMPOSE_DELUGE_IMAGE:-codexstorage/deluge}
container_name: deluge-3
environment:
- DELUGE_RPC_PORT=6896
@ -110,13 +110,13 @@ services:
- "9003:9003"
tracker:
image: codexstorage/bittorrent-tracker
image: ${COMPOSE_TRACKER_IMAGE:-codexstorage/bittorrent-tracker}
container_name: tracker
ports:
- "8000:8000"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.1
image: ${COMPOSE_ES_IMAGE:-docker.elastic.co/elasticsearch/elasticsearch:8.17.1}
container_name: elasticsearch
command: ["elasticsearch", "-Elogger.level=ERROR"]
environment: