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
33 lines
1.7 KiB
YAML
33 lines
1.7 KiB
YAML
services:
|
|
gotify_app:
|
|
image: ${GOTIFY_IMAGE}
|
|
container_name: ${GOTIFY_COMPOSE_PROJECT_NAME}_app
|
|
restart: unless-stopped
|
|
volumes:
|
|
- gotify_data:/app/data
|
|
environment:
|
|
TZ: ${TIMEZONE:-Europe/Amsterdam}
|
|
GOTIFY_DEFAULTUSER_NAME: ${GOTIFY_DEFAULTUSER_NAME}
|
|
GOTIFY_DEFAULTUSER_PASS: ${GOTIFY_DEFAULTUSER_PASS}
|
|
ports:
|
|
- "${GOTIFY_PORT:-8085}:80"
|
|
networks:
|
|
- compose_network
|
|
labels:
|
|
- 'traefik.enable=${GOTIFY_TRAEFIK_ENABLED}'
|
|
- 'traefik.http.middlewares.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-redirect-web-secure.redirectscheme.scheme=https'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web.middlewares=${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-redirect-web-secure'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web.rule=Host(`${GOTIFY_TRAEFIK_HOST}`)'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web.entrypoints=web'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure.rule=Host(`${GOTIFY_TRAEFIK_HOST}`)'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure.tls.certresolver=resolver'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure.entrypoints=web-secure'
|
|
- 'traefik.http.middlewares.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure-compress.compress=true'
|
|
- 'traefik.http.routers.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure.middlewares=${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure-compress'
|
|
- 'traefik.http.services.${GOTIFY_COMPOSE_PROJECT_NAME}-gotify-web-secure.loadbalancer.server.port=80'
|
|
- 'traefik.docker.network=${NETWORK_NAME}'
|
|
|
|
volumes:
|
|
gotify_data:
|
|
name: ${GOTIFY_COMPOSE_PROJECT_NAME}_gotify_data
|