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

42 lines
1.2 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:
- /etc/localtime:/etc/localtime:ro
2023-12-27 00:36:38 +01:00
- $DATA/invoiceplane/uploads:/var/www/html/uploads
- type: bind
source: $DATA/invoiceplane/ipconfig.php
target: /var/www/html/ipconfig.php
2023-09-26 09:53:42 +02:00
environment:
2023-12-27 00:36:38 +01:00
- TZ=Europe/Paris
2023-09-26 09:53:42 +02:00
- IP_URL=https://invoice.bhasher.com
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"
2024-02-07 16:11:57 +01:00
- "traefik.http.routers.invoice.entrypoints=internalsecure"
2023-12-27 00:36:38 +01:00
- "com.centurylinklabs.watchtower.enable=true"
2023-09-26 09:53:42 +02:00
networks:
- external
2023-12-27 00:36:38 +01:00
- invoice
invoiceplane-db:
container_name: invoiceplane-db
image: mariadb:10.4.10
volumes:
- $DATA/invoiceplane/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${MARIADB_ROOT}
- MYSQL_DATABASE=invoiceplane
- MYSQL_USER=invoiceplane
- MYSQL_PASSWORD=${MARIADB_ROOT}
networks:
- invoice
2023-09-26 09:53:42 +02:00
networks:
invoice: