feat: Add extensive collection of application blueprints with Docker Compose configurations

This commit is contained in:
Mauricio Siu
2025-03-09 23:36:58 -06:00
parent 813efefab9
commit 08b572dcae
332 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,57 @@
version: "3.8"
services:
invoiceshelf-postgres:
image: postgres:15
volumes:
- invoiceshelf-postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_DB=${DB_DATABASE}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USERNAME}"]
interval: 10s
timeout: 5s
retries: 5
invoiceshelf-app:
image: invoiceshelf/invoiceshelf:latest
volumes:
- invoiceshelf-app-data:/data
- invoiceshelf-app-conf:/conf
environment:
- PHP_TZ=UTC
- TIMEZONE=UTC
- APP_NAME=InvoiceShelf
- APP_ENV=production
- APP_DEBUG=false
- APP_URL=http://${INVOICESHELF_HOST}
- DB_CONNECTION=pgsql
- DB_HOST=invoiceshelf-postgres
- DB_PORT=5432
- DB_DATABASE=${DB_DATABASE}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- CACHE_STORE=file
- SESSION_DRIVER=file
- SESSION_LIFETIME=120
- SESSION_ENCRYPT=true
- SESSION_PATH=/
- SESSION_DOMAIN=${INVOICESHELF_HOST}
- SANCTUM_STATEFUL_DOMAINS=${INVOICESHELF_HOST}
- STARTUP_DELAY=10
depends_on:
invoiceshelf-postgres:
condition: service_healthy
networks:
dokploy-network:
external: true
volumes:
invoiceshelf-postgres-data:
invoiceshelf-app-data:
invoiceshelf-app-conf:

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -0,0 +1,19 @@
variables:
main_domain: ${randomDomain}
db_password: ${password}
db_username: "invoiceshelf"
db_database: "invoiceshelf"
config:
domains:
- serviceName: invoiceshelf-app
port: 80
host: ${main_domain}
env:
INVOICESHELF_HOST: ${main_domain}
DB_PASSWORD: ${db_password}
DB_USERNAME: ${db_username}
DB_DATABASE: ${db_database}
mounts: []