diff --git a/stacks/apps/peertube/stack.yml b/stacks/apps/peertube/stack.yml index e337130..3ae0040 100644 --- a/stacks/apps/peertube/stack.yml +++ b/stacks/apps/peertube/stack.yml @@ -8,7 +8,7 @@ services: - POSTGRES_USER=admin - POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master - POSTGRES_DB=peertube - - POSTGRES_HOSTNAME=postgresSQL + - POSTGRES_HOSTNAME=10.0.4.10 # Redis configuration - REDIS_HOSTNAME=peertube-redis # PeerTube configuration @@ -33,7 +33,7 @@ services: - gmail-app-password ports: - target: 9000 - published: 9000 + published: 9001 mode: host - target: 1935 published: 1935 @@ -42,7 +42,7 @@ services: - /home/doc/projects/unraid-appdata/PeerTube:/data - /home/doc/projects/unraid-appdata/PeerTube:/config healthcheck: - test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:9000/api/v1/config"] + test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:9000/api/v1/config" ] interval: 30s timeout: 10s retries: 3 @@ -65,7 +65,7 @@ services: volumes: - peertube-redis-data:/data healthcheck: - test: ["CMD", "redis-cli", "ping"] + test: [ "CMD", "redis-cli", "ping" ] interval: 30s timeout: 5s retries: 3 @@ -73,7 +73,6 @@ services: mode: replicated replicas: 1 - networks: homelab: external: true @@ -81,6 +80,7 @@ networks: volumes: peertube-redis-data: + secrets: postgres-master: external: true diff --git a/stacks/core/postgres/stack.yml b/stacks/core/postgres/stack.yml deleted file mode 100644 index f9c3a2c..0000000 --- a/stacks/core/postgres/stack.yml +++ /dev/null @@ -1,24 +0,0 @@ -services: - postgresSQL: - image: postgres:17-alpine - secrets: - - postgres-master - networks: - - homelab - environment: - - POSTGRES_USER=admin - - POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master - - PGDATA=/var/lib/postgresql/data - volumes: - - /home/doc/projects/unraid-appdata/postgres:/var/lib/postgresql/data - ports: - - 5432:5432 - deploy: - replicas: 1 - -networks: - homelab: - external: true -secrets: - postgres-master: - external: true