fix(invoice-ninja): wrong container names
This commit is contained in:
parent
bed4058923
commit
c0e0435d58
|
@ -2,9 +2,39 @@ version: "3.9"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
invoice-ninja:
|
invoice-ninja:
|
||||||
image: nginx:1.25
|
image: invoiceninja/invoiceninja:5.8.54
|
||||||
container_name: invoice-ninja
|
container_name: invoice-ninja
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
user: 1500:1500
|
||||||
|
environment:
|
||||||
|
- IN_USER_EMAIL=${INVOICE_NINJA_USER_MAIL}
|
||||||
|
- IN_PASSWORD=${INVOICE_NINJA_USER_PASSWORD}
|
||||||
|
- APP_URL=http://invoice-ninja
|
||||||
|
- APP_KEY=${INVOICE_NINJA_APP_KEY}
|
||||||
|
- APP_CIPHER=AES-256-CBC
|
||||||
|
- DB_HOST=invoice-ninja-db
|
||||||
|
- DB_PORT=3306
|
||||||
|
- DB_DATABASE=ninja
|
||||||
|
- DB_USERNAME=ninja
|
||||||
|
- DB_PASSWORD=ninja
|
||||||
|
- REQUIRE_HTTPS=false
|
||||||
|
- QUEUE_CONNECTION=database
|
||||||
|
- IS_DOCKER=TRUE
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data/public:/var/www/app/public:rw,delegated
|
||||||
|
- ${APP_DATA_DIR}/data/storage:/var/www/app/storage:rw,delegated
|
||||||
|
- ${APP_DATA_DIR}/data/php/php.ini:/usr/local/etc/php/php.ini:ro
|
||||||
|
- ${APP_DATA_DIR}/data/php/php-cli.ini:/usr/local/etc/php/php-cli.ini:ro
|
||||||
|
depends_on:
|
||||||
|
invoice-ninja-db:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
invoice-ninja-web:
|
||||||
|
image: nginx:1.25
|
||||||
|
container_name: invoice-ninja-web
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/nginx/invoice-ninja.conf:/etc/nginx/conf.d/default.conf:ro
|
- ${APP_DATA_DIR}/data/nginx/invoice-ninja.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- ${APP_DATA_DIR}/data/public:/var/www/app/public:ro
|
- ${APP_DATA_DIR}/data/public:/var/www/app/public:ro
|
||||||
|
@ -41,36 +71,6 @@ services:
|
||||||
traefik.http.routers.invoice-ninja-local.service: invoice-ninja
|
traefik.http.routers.invoice-ninja-local.service: invoice-ninja
|
||||||
traefik.http.routers.invoice-ninja-local.tls: true
|
traefik.http.routers.invoice-ninja-local.tls: true
|
||||||
|
|
||||||
invoice-ninja-server:
|
|
||||||
image: invoiceninja/invoiceninja:5.8.54
|
|
||||||
container_name: invoice-ninja-server
|
|
||||||
restart: unless-stopped
|
|
||||||
user: 1500:1500
|
|
||||||
environment:
|
|
||||||
- IN_USER_EMAIL=${INVOICE_NINJA_USER_MAIL}
|
|
||||||
- IN_PASSWORD=${INVOICE_NINJA_USER_PASSWORD}
|
|
||||||
- APP_URL=http://invoice-ninja
|
|
||||||
- APP_KEY=${INVOICE_NINJA_APP_KEY}
|
|
||||||
- APP_CIPHER=AES-256-CBC
|
|
||||||
- DB_HOST=invoice-ninja-db
|
|
||||||
- DB_PORT=3306
|
|
||||||
- DB_DATABASE=ninja
|
|
||||||
- DB_USERNAME=ninja
|
|
||||||
- DB_PASSWORD=ninja
|
|
||||||
- REQUIRE_HTTPS=false
|
|
||||||
- QUEUE_CONNECTION=database
|
|
||||||
- IS_DOCKER=TRUE
|
|
||||||
volumes:
|
|
||||||
- ${APP_DATA_DIR}/data/public:/var/www/app/public:rw,delegated
|
|
||||||
- ${APP_DATA_DIR}/data/storage:/var/www/app/storage:rw,delegated
|
|
||||||
- ${APP_DATA_DIR}/data/php/php.ini:/usr/local/etc/php/php.ini:ro
|
|
||||||
- ${APP_DATA_DIR}/data/php/php-cli.ini:/usr/local/etc/php/php-cli.ini:ro
|
|
||||||
depends_on:
|
|
||||||
invoice-ninja-db:
|
|
||||||
condition: service_healthy
|
|
||||||
networks:
|
|
||||||
- tipi_main_network
|
|
||||||
|
|
||||||
invoice-ninja-db:
|
invoice-ninja-db:
|
||||||
image: mariadb:10.4
|
image: mariadb:10.4
|
||||||
container_name: invoice-ninja-db
|
container_name: invoice-ninja-db
|
||||||
|
@ -88,7 +88,14 @@ services:
|
||||||
invoice-ninja-init:
|
invoice-ninja-init:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized" ]
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"healthcheck.sh",
|
||||||
|
"--su-mysql",
|
||||||
|
"--connect",
|
||||||
|
"--innodb_initialized",
|
||||||
|
]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user