mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(template): Postiz Template
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postiz:
|
postiz-app:
|
||||||
image: ghcr.io/gitroomhq/postiz-app:latest
|
image: ghcr.io/gitroomhq/postiz-app:latest
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
POSTGRES_USER: ${DB_USER}
|
POSTGRES_USER: ${DB_USER}
|
||||||
POSTGRES_DB: ${DB_NAME}
|
POSTGRES_DB: ${DB_NAME}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-volume:/var/lib/postgresql/data
|
- postiz-postgres-data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: pg_isready -U ${DB_USER} -d ${DB_NAME}
|
test: pg_isready -U ${DB_USER} -d ${DB_NAME}
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -57,8 +57,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- postiz-redis-data:/data
|
- postiz-redis-data:/data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dokploy-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres-volume:
|
postiz-postgres-data:
|
||||||
postiz-redis-data:
|
postiz-redis-data:
|
||||||
postiz-config:
|
postiz-config:
|
||||||
postiz-uploads:
|
postiz-uploads:
|
||||||
@@ -18,7 +18,7 @@ export function generate(schema: Schema): Template {
|
|||||||
{
|
{
|
||||||
host: mainDomain,
|
host: mainDomain,
|
||||||
port: 5000,
|
port: 5000,
|
||||||
serviceName: "postiz",
|
serviceName: "postiz-app",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user