refactor: standardize service naming and migrate track to umami

Service Naming Standardization:
- Renamed all compose service names to use consistent `{project}_app` pattern
- awsm: `awesome` → `awesome_app`
- gotify: `gotify` → `gotify_app` (also updated container_name)
- proxy: `traefik` → `traefik_app`
- vpn: `wg-easy` → `vpn_app`
- sexy: `directus` → `sexy_api`, `frontend` → `sexy_frontend`

Track to Umami Migration:
- Removed track/ directory (legacy naming)
- Created umami/ directory with updated compose.yaml
- Service now named `umami_app` following naming convention
- Configuration unchanged: PostgreSQL backend, Redis caching, Traefik routing
- Uses TRACK_* environment variables for compatibility with arty.yml

Benefits:
- Consistent naming makes service identification easier across projects
- Aligns with container_name conventions ({PROJECT}_app pattern)
- Improves docker ps readability and service management
- Umami directory name matches actual product name
This commit is contained in:
2025-10-28 22:16:38 +01:00
parent 960056cdf9
commit 9c8be201ad
6 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
services:
awesome:
awesome_app:
image: ${AWESOME_IMAGE:-ghcr.io/valknarness/awesome-app:latest}
container_name: ${AWESOME_COMPOSE_PROJECT_NAME}_app
restart: unless-stopped

View File

@@ -1,7 +1,7 @@
services:
gotify:
gotify_app:
image: ${GOTIFY_IMAGE}
container_name: ${GOTIFY_COMPOSE_PROJECT_NAME}_gotify
container_name: ${GOTIFY_COMPOSE_PROJECT_NAME}_app
restart: unless-stopped
volumes:
- gotify_data:/app/data

View File

@@ -1,5 +1,5 @@
services:
traefik:
traefik_app:
image: ${PROXY_DOCKER_IMAGE}
container_name: ${PROXY_COMPOSE_PROJECT_NAME}_app
restart: unless-stopped

View File

@@ -1,5 +1,5 @@
services:
directus:
sexy_api:
image: ${SEXY_DIRECTUS_IMAGE}
container_name: ${SEXY_COMPOSE_PROJECT_NAME}_api
restart: unless-stopped
@@ -56,7 +56,7 @@ services:
- 'traefik.http.services.${SEXY_COMPOSE_PROJECT_NAME}-api-web-secure.loadbalancer.server.port=8055'
- 'traefik.docker.network=${NETWORK_NAME}'
frontend:
sexy_frontend:
image: ${SEXY_FRONTEND_IMAGE}
container_name: ${SEXY_COMPOSE_PROJECT_NAME}_frontend
restart: unless-stopped

View File

@@ -1,5 +1,5 @@
services:
umami:
umami_app:
image: ${TRACK_DOCKER_IMAGE}
container_name: ${TRACK_COMPOSE_PROJECT_NAME}_app
restart: unless-stopped

View File

@@ -1,5 +1,5 @@
services:
wg-easy:
vpn_app:
image: ${VPN_DOCKER_IMAGE}
container_name: ${VPN_COMPOSE_PROJECT_NAME}_app
restart: unless-stopped