homelab/bxl-shp/apps/docker-compose.invoice.yaml

36 lines
1.1 KiB
YAML
Raw Normal View History

2023-09-26 09:53:42 +02:00
services:
invoiceplane:
container_name: invoiceplane
image: mhzawadi/invoiceplane:latest
restart: unless-stopped
2023-09-26 09:53:42 +02:00
volumes:
- $DATA/invoiceplane/uploads:/var/www/html/uploads
- $DATA/invoiceplane/ipconfig.php:/var/www/html/ipconfig.php
- /etc/localtime:/etc/localtime:ro
2023-12-26 22:59:06 +01:00
#command: sh -c "apk add php7-mbstring php7-iconv php7-json gd && nginx -g 'daemon off;'"
2023-09-26 09:53:42 +02:00
environment:
- IP_URL=https://invoice.bhasher.com
#- MYSQL_HOST=mariadb
#- MYSQL_USER=root
#- MYSQL_PASSWORD=${MARIADB_ROOT}
#- MYSQL_DB=InvoicePlane
#- DISABLE_SETUP=false
labels:
- "traefik.enable=true"
- "traefik.http.routers.invoice.rule=Host(`invoice.bhasher.com`)"
- "traefik.http.services.invoice.loadbalancer.server.port=80"
- "traefik.http.routers.invoice.tls=true"
- "traefik.http.routers.invoice.tls.certresolver=http"
2023-09-26 11:14:50 +02:00
- "traefik.http.routers.invoice.entrypoints=internalsecure,externalsecure"
2023-12-26 22:59:06 +01:00
#- "com.centurylinklabs.watchtower.enable=true"
2023-09-26 09:53:42 +02:00
networks:
- external
- storage
networks:
invoice:
external:
external: true
storage:
external: true