Fix InvoicePlane
This commit is contained in:
parent
1a213fa676
commit
eb636ddc21
|
@ -4,17 +4,14 @@ services:
|
||||||
image: mhzawadi/invoiceplane:latest
|
image: mhzawadi/invoiceplane:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- $DATA/invoiceplane/uploads:/var/www/html/uploads
|
|
||||||
- $DATA/invoiceplane/ipconfig.php:/var/www/html/ipconfig.php
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
#command: sh -c "apk add php7-mbstring php7-iconv php7-json gd && nginx -g 'daemon off;'"
|
- $DATA/invoiceplane/uploads:/var/www/html/uploads
|
||||||
|
- type: bind
|
||||||
|
source: $DATA/invoiceplane/ipconfig.php
|
||||||
|
target: /var/www/html/ipconfig.php
|
||||||
environment:
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
- IP_URL=https://invoice.bhasher.com
|
- IP_URL=https://invoice.bhasher.com
|
||||||
#- MYSQL_HOST=mariadb
|
|
||||||
#- MYSQL_USER=root
|
|
||||||
#- MYSQL_PASSWORD=${MARIADB_ROOT}
|
|
||||||
#- MYSQL_DB=InvoicePlane
|
|
||||||
#- DISABLE_SETUP=false
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.invoice.rule=Host(`invoice.bhasher.com`)"
|
- "traefik.http.routers.invoice.rule=Host(`invoice.bhasher.com`)"
|
||||||
|
@ -22,14 +19,23 @@ services:
|
||||||
- "traefik.http.routers.invoice.tls=true"
|
- "traefik.http.routers.invoice.tls=true"
|
||||||
- "traefik.http.routers.invoice.tls.certresolver=http"
|
- "traefik.http.routers.invoice.tls.certresolver=http"
|
||||||
- "traefik.http.routers.invoice.entrypoints=internalsecure,externalsecure"
|
- "traefik.http.routers.invoice.entrypoints=internalsecure,externalsecure"
|
||||||
#- "com.centurylinklabs.watchtower.enable=true"
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
- storage
|
- 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
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
invoice:
|
invoice:
|
||||||
external:
|
|
||||||
external: true
|
|
||||||
storage:
|
|
||||||
external: true
|
|
||||||
|
|
Loading…
Reference in New Issue