summaryrefslogtreecommitdiff
path: root/stacks/irm/compose.yml
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2026-03-14 19:09:51 -0400
committerRATDAD <lambda@disroot.org>2026-03-14 19:09:51 -0400
commitc4370a17dec7c1090c92efc195f6bd1188ba9bde (patch)
tree9e421f1f16ea409865a371adb4902e604ec5f299 /stacks/irm/compose.yml
parent2578d12ea47d10130472a845244e4aaac48897cb (diff)
downloadrd-cloud-dev.tar.gz
rd-cloud-dev.tar.bz2
rd-cloud-dev.zip
refactor: alter the position of environment files and container routingdev
Diffstat (limited to 'stacks/irm/compose.yml')
-rw-r--r--stacks/irm/compose.yml18
1 files changed, 8 insertions, 10 deletions
diff --git a/stacks/irm/compose.yml b/stacks/irm/compose.yml
index 4ba9977..7531465 100644
--- a/stacks/irm/compose.yml
+++ b/stacks/irm/compose.yml
@@ -1,25 +1,23 @@
-name: ${STACK} # Explicitly name stacks (do not rely on directory name).
-
networks:
- edge-net:
+ edge_net:
name: ${EDGE_NET}
external: true # All networks SHOULD be external in production.
- db-net:
+ db_net:
name: ${DB_NET}
external: true
services:
irm:
- container_name: ${IRM_CONTAINER} # Name the containers explicitly.
- image: ${IRM_IMAGE}
+ image: ghcr.io/linkwarden/linkwarden:latest
restart: unless-stopped
env_file:
# NOTE: .compose.env WILL override .env if there are overlapping values.
- - .run.env # Runtime ENV
- - .env # Compose ENV
+ - ${ROOT}/stacks/.env # GLOBAL
+ - ${CONFIG}/env/irm.env
+ - ${SECRET}/env/irm.env # SECRETS
networks:
- - edge-net
- - db-net
+ - edge_net
+ - db_net
expose:
- 3000
# Github Issue: https://github.com/linkwarden/linkwarden/issues/1153