mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(template): InvoiceShelf Naming
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
invoiceshelf_db:
|
invoiceshelf-postgres:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
networks:
|
networks:
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- invoiceshelf-postgres-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
- POSTGRES_USER=${DB_USERNAME}
|
- POSTGRES_USER=${DB_USERNAME}
|
||||||
@@ -17,13 +17,13 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
invoiceshelf:
|
invoiceshelf-app:
|
||||||
image: invoiceshelf/invoiceshelf:latest
|
image: invoiceshelf/invoiceshelf:latest
|
||||||
networks:
|
networks:
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
volumes:
|
volumes:
|
||||||
- app_data:/data
|
- invoiceshelf-app-data:/data
|
||||||
- app_conf:/conf
|
- invoiceshelf-app-conf:/conf
|
||||||
environment:
|
environment:
|
||||||
- PHP_TZ=UTC
|
- PHP_TZ=UTC
|
||||||
- TIMEZONE=UTC
|
- TIMEZONE=UTC
|
||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
- APP_DEBUG=false
|
- APP_DEBUG=false
|
||||||
- APP_URL=http://${INVOICESHELF_HOST}
|
- APP_URL=http://${INVOICESHELF_HOST}
|
||||||
- DB_CONNECTION=pgsql
|
- DB_CONNECTION=pgsql
|
||||||
- DB_HOST=invoiceshelf_db
|
- DB_HOST=invoiceshelf-postgres
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
- DB_DATABASE=${DB_DATABASE}
|
- DB_DATABASE=${DB_DATABASE}
|
||||||
- DB_USERNAME=${DB_USERNAME}
|
- DB_USERNAME=${DB_USERNAME}
|
||||||
@@ -46,10 +46,14 @@ services:
|
|||||||
- SANCTUM_STATEFUL_DOMAINS=${INVOICESHELF_HOST}
|
- SANCTUM_STATEFUL_DOMAINS=${INVOICESHELF_HOST}
|
||||||
- STARTUP_DELAY=10
|
- STARTUP_DELAY=10
|
||||||
depends_on:
|
depends_on:
|
||||||
invoiceshelf_db:
|
invoiceshelf-postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dokploy-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
invoiceshelf-postgres-data:
|
||||||
app_data:
|
invoiceshelf-app-data:
|
||||||
app_conf:
|
invoiceshelf-app-conf:
|
||||||
@@ -16,7 +16,7 @@ export function generate(schema: Schema): Template {
|
|||||||
{
|
{
|
||||||
host: mainDomain,
|
host: mainDomain,
|
||||||
port: 80,
|
port: 80,
|
||||||
serviceName: "invoiceshelf",
|
serviceName: "invoiceshelf-app",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user