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,39 @@
version: "3.8"
services:
slash-app:
image: yourselfhosted/slash:latest
volumes:
- slash-app-data:/var/opt/slash
environment:
- SLASH_DRIVER=postgres
- SLASH_DSN=postgresql://${DB_USER}:${DB_PASSWORD}@slash-postgres:5432/${DB_NAME}?sslmode=disable
depends_on:
slash-postgres:
condition: service_healthy
restart: unless-stopped
slash-postgres:
image: postgres:16-alpine
volumes:
- slash-postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER} -d ${DB_NAME}"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
networks:
dokploy-network:
external: true
volumes:
slash-app-data:
slash-postgres-data:

BIN
blueprints/slash/slash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,18 @@
variables:
main_domain: ${randomDomain}
db_password: ${password}
db_user: "slash"
db_name: "slash"
config:
domains:
- serviceName: slash-app
port: 5231
host: ${main_domain}
env:
DB_USER: ${db_user}
DB_PASSWORD: ${db_password}
DB_NAME: ${db_name}
mounts: []