refactor: rename app service to klz-app and establish a new internal Docker network for service communication.
Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 34s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 1m31s
Build & Deploy KLZ Cables / 🏗️ Build Gatekeeper (push) Successful in 20s
Build & Deploy KLZ Cables / 🏗️ Build App (push) Successful in 9m37s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Successful in 1m41s
Build & Deploy KLZ Cables / ⚡ PageSpeed (push) Failing after 3m6s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-05 21:54:46 +01:00
parent a0ce37708e
commit ab688a3dab
3 changed files with 11 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
services:
app:
klz-app:
image: registry.infra.mintel.me/mintel/klz-cables.com:${IMAGE_TAG:-latest}
restart: always
networks:
- infra
- default
env_file:
- ${ENV_FILE:-.env}
labels:
@@ -13,11 +13,12 @@ services:
image: varnish:7
restart: always
networks:
- default
- infra
volumes:
- ./varnish/default.vcl:/etc/varnish/default.vcl:ro
tmpfs:
- /var/lib/varnish:exec
- /var/lib/varnish:exec,mode=1777
environment:
VARNISH_SIZE: ${VARNISH_CACHE_SIZE:-256M}
labels:
@@ -59,6 +60,7 @@ services:
container_name: ${PROJECT_NAME:-klz-cables}-gatekeeper
restart: always
networks:
- default
- infra
env_file:
- ${ENV_FILE:-.env}
@@ -72,6 +74,7 @@ services:
image: directus/directus:11
restart: always
networks:
- default
- infra
env_file:
- ${ENV_FILE:-.env}
@@ -108,7 +111,7 @@ services:
image: postgres:15-alpine
restart: always
networks:
- infra
- default
env_file:
- ${ENV_FILE:-.env}
environment:
@@ -119,6 +122,8 @@ services:
- directus-db-data:/var/lib/postgresql/data
networks:
default:
name: ${PROJECT_NAME:-klz-cables}-internal
infra:
external: true