fix(template): Postiz Template

This commit is contained in:
DrMxrcy
2024-11-21 01:55:40 -05:00
parent 9003e43702
commit be8bd78bcc
2 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
version: "3.8"
services:
postiz:
postiz-app:
image: ghcr.io/gitroomhq/postiz-app:latest
restart: always
networks:
@@ -37,7 +37,7 @@ services:
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
volumes:
- postgres-volume:/var/lib/postgresql/data
- postiz-postgres-data:/var/lib/postgresql/data
healthcheck:
test: pg_isready -U ${DB_USER} -d ${DB_NAME}
interval: 10s
@@ -57,8 +57,12 @@ services:
volumes:
- postiz-redis-data:/data
networks:
dokploy-network:
external: true
volumes:
postgres-volume:
postiz-postgres-data:
postiz-redis-data:
postiz-config:
postiz-uploads:

View File

@@ -18,7 +18,7 @@ export function generate(schema: Schema): Template {
{
host: mainDomain,
port: 5000,
serviceName: "postiz",
serviceName: "postiz-app",
},
];