diff options
Diffstat (limited to 'stacks/irm/compose.yml')
| -rw-r--r-- | stacks/irm/compose.yml | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/stacks/irm/compose.yml b/stacks/irm/compose.yml index 0e97160..4ba9977 100644 --- a/stacks/irm/compose.yml +++ b/stacks/irm/compose.yml @@ -1,21 +1,17 @@ -name: ${_STACK_0} # Explicitly name stacks (do not rely on directory name). +name: ${STACK} # Explicitly name stacks (do not rely on directory name). networks: edge-net: - name: ${_NET_0} + name: ${EDGE_NET} external: true # All networks SHOULD be external in production. db-net: - name: ${_NET_1} - -volumes: - irm-db: - name: ${_VOLUME_0} - external: true # All volumes SHOULD be external in production. + name: ${DB_NET} + external: true services: irm: - container_name: ${_CONTAINER_0} # Name the containers explicitly. - image: ghcr.io/linkwarden/linkwarden:latest + container_name: ${IRM_CONTAINER} # Name the containers explicitly. + image: ${IRM_IMAGE} restart: unless-stopped env_file: # NOTE: .compose.env WILL override .env if there are overlapping values. @@ -29,18 +25,3 @@ services: # Github Issue: https://github.com/linkwarden/linkwarden/issues/1153 extra_hosts: - "${OIDC_PROVIDER_URL}:${PROXY_IP}" - depends_on: - - irm-db - irm-db: - container_name: ${_CONTAINER_1} # Name the containers explicitly. - image: postgres:16 - restart: unless-stopped - env_file: - - .run.env - - .env - volumes: - - irm-db:/var/lib/postgresql/data - networks: - - db-net - expose: - - 5432 |
