homelab/archive/2023.09.bxl-rpi/apps/docker-compose.invoice.yaml

34 lines
1.0 KiB
YAML
Raw Normal View History

2023-05-01 16:40:46 +02:00
services:
2023-05-19 21:33:13 +02:00
invoiceplane:
container_name: invoiceplane
image: mhzawadi/invoiceplane:latest
volumes:
- $DATA/invoiceplane/uploads:/var/www/html/uploads
- $DATA/invoiceplane/ipconfig.php:/var/www/html/ipconfig.php
- /etc/localtime:/etc/localtime:ro
2023-09-26 10:26:43 +02:00
command: sh -c "apk add php7-mbstring php7-iconv php7-json gd && nginx -g 'daemon off;'"
2023-05-19 21:33:13 +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 10:26:43 +02:00
- "traefik.http.routers.invoice.entrypoints=internalsecure,externalsecure"
2023-05-19 21:33:13 +02:00
networks:
- external
- storage
2023-05-01 16:40:46 +02:00
networks:
invoice:
external:
external: true
storage:
external: true