mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(template): Slash Naming Schema
This commit is contained in:
parent
be8bd78bcc
commit
204143648d
@ -1,26 +1,26 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
slash:
|
||||
slash-app:
|
||||
image: yourselfhosted/slash:latest
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
- slash_data:/var/opt/slash
|
||||
- slash-app-data:/var/opt/slash
|
||||
environment:
|
||||
- SLASH_DRIVER=postgres
|
||||
- SLASH_DSN=postgresql://${DB_USER}:${DB_PASSWORD}@db:5432/${DB_NAME}?sslmode=disable
|
||||
- SLASH_DSN=postgresql://${DB_USER}:${DB_PASSWORD}@slash-postgres:5432/${DB_NAME}?sslmode=disable
|
||||
depends_on:
|
||||
db:
|
||||
slash-postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
slash-postgres:
|
||||
image: postgres:16-alpine
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- slash-postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${DB_USER}
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
@ -32,6 +32,10 @@ services:
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
slash_data:
|
||||
postgres_data:
|
||||
slash-app-data:
|
||||
slash-postgres-data:
|
@ -16,7 +16,7 @@ export function generate(schema: Schema): Template {
|
||||
{
|
||||
host: mainDomain,
|
||||
port: 5231,
|
||||
serviceName: "slash",
|
||||
serviceName: "slash-app",
|
||||
},
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user