Update Financial_Containers/invoiceshelf/compose.yaml
This commit is contained in:
@@ -19,6 +19,9 @@ services:
|
||||
- POSTGRES_USER=invoiceshelf
|
||||
- POSTGRES_DB=invoiceshelf
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- invoiceshelf
|
||||
|
||||
invoiceshelf:
|
||||
image: invoiceshelf/invoiceshelf:2.1.1
|
||||
container_name: invoiceshelf
|
||||
@@ -62,8 +65,33 @@ services:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- invoiceshelf_db
|
||||
networks:
|
||||
- traefik_network
|
||||
- invoiceshelf
|
||||
labels:
|
||||
### Auto create icon on Flame dashboard
|
||||
- flame.type=application
|
||||
- flame.name=${SERVICE_NAME}
|
||||
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
|
||||
- flame.icon=
|
||||
### Traefik Labels
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
|
||||
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
|
||||
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
|
||||
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||
### Monitor with uptime-kuma
|
||||
- kuma.monitoring.group.name=Docker Containers
|
||||
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
|
||||
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
|
||||
- kuma.${SERVICE_NAME}.docker.type=docker
|
||||
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
|
||||
- kuma.${SERVICE_NAME}.docker.docker_host=1
|
||||
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
|
||||
|
||||
networks:
|
||||
default:
|
||||
traefik_network:
|
||||
external: true
|
||||
name: nginx
|
||||
invoiceshelf:
|
||||
name: invoiceshelf_network
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user