chore: update invoiceninja

This commit is contained in:
2026-06-02 12:48:33 -04:00
parent a9f88b3815
commit 88f0fa50d1
+16 -32
View File
@@ -4,23 +4,18 @@ services:
image: nginx image: nginx
container_name: in_nginx container_name: in_nginx
restart: always restart: always
command: /bin/sh -c "rm -f /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
env_file: .env env_file: .env
volumes: volumes:
# Vhost configuration - /srv/invoiceninja/config/nginx/in-vhost.conf:/etc/nginx/conf.d/in-vhost.conf:ro
#- ./config/caddy/Caddyfile:/etc/caddy/Caddyfiledocker-com - /srv/invoiceninja/docker/app/public:/var/www/app/public:ro
- ./config/nginx/in-vhost.conf:/etc/nginx/conf.d/in-vhost.conf:ro
- ./data/public:/var/www/app/public:ro
depends_on: depends_on:
- app - app
# Run webserver nginx on port 80 expose:
# Feel free to modify depending what port is already occupied - "80"
ports:
- "80:80"
#- "443:443"
networks: networks:
- invoiceninja - invoiceninja
extra_hosts: - proxy
- "in5.localhost:127.0.0.1" #host and ip
app: app:
image: invoiceninja/invoiceninja:5 image: invoiceninja/invoiceninja:5
@@ -28,38 +23,27 @@ services:
env_file: .env env_file: .env
restart: always restart: always
volumes: volumes:
- ./config/hosts:/etc/hosts:ro - /srv/invoiceninja/config/hosts:/etc/hosts:ro
- ./data/public:/var/www/app/public:rw,delegated - /srv/invoiceninja/docker/app/public:/var/www/app/public:rw,delegated
- ./data/storage:/var/www/app/storage:rw,delegated - /srv/invoiceninja/docker/app/storage:/var/www/app/storage:rw,delegated
- ./config/php/php.ini:/usr/local/etc/php/php.ini - /srv/invoiceninja/config/php/php.ini:/usr/local/etc/php/php.ini
- ./config/php/php-cli.ini:/usr/local/etc/php/php-cli.ini - /srv/invoiceninja/config/php/php-cli.ini:/usr/local/etc/php/php-cli.ini
depends_on: depends_on:
- db - db
networks: networks:
- invoiceninja - invoiceninja
extra_hosts:
- "in5.localhost:127.0.0.1" #host and ip
db: db:
image: mariadb:10.4 image: mysql:8.4.0-oraclelinux8
container_name: in_mysql container_name: in_mysql
ports:
- "3305:3306"
restart: always restart: always
env_file: .env env_file: .env
volumes: volumes:
- ./mysql/data:/var/lib/mysql:rw,delegated - /srv/invoiceninja/docker/mysql/data:/var/lib/mysql:rw,delegated
# remove comments for next 4 lines if you want auto sql backups
#- ./mysql/bak:/backups:rw
#- ./config/mysql/backup-script:/etc/cron.daily/daily:ro
#- ./config/mysql/backup-script:/etc/cron.weekly/weekly:ro
#- ./config/mysql/backup-script:/etc/cron.monthly/monthly:ro
networks: networks:
- invoiceninja - invoiceninja
extra_hosts:
- "in5.localhost:127.0.0.1" #host and ip
networks: networks:
invoiceninja: invoiceninja:
proxy:
external: true