fix: remove sablier labels and enable direct Traefik routing
Sablier was removed from the stack — these compose files still had traefik.enable=false + sablier group labels, causing 404s. Switched to traefik.enable=true with explicit docker.network label. All 3 Postiz spaces verified live with Infisical secret injection. Old plaintext .env backups removed from server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6f020ddac9
commit
91b8957892
|
|
@ -49,12 +49,11 @@ services:
|
||||||
- postiz-bcrg-uploads:/uploads/
|
- postiz-bcrg-uploads:/uploads/
|
||||||
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false"
|
- "traefik.enable=true"
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-bcrg"
|
|
||||||
- "traefik.http.routers.postiz-bcrg.rule=Host(`bondingcurve.rsocials.online`) || Host(`socials.bondingcurve.tech`)"
|
- "traefik.http.routers.postiz-bcrg.rule=Host(`bondingcurve.rsocials.online`) || Host(`socials.bondingcurve.tech`)"
|
||||||
- "traefik.http.routers.postiz-bcrg.entrypoints=web,websecure"
|
- "traefik.http.routers.postiz-bcrg.entrypoints=web,websecure"
|
||||||
- "traefik.http.services.postiz-bcrg.loadbalancer.server.port=5000"
|
- "traefik.http.services.postiz-bcrg.loadbalancer.server.port=5000"
|
||||||
|
- "traefik.docker.network=traefik-public"
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- postiz-bcrg-internal
|
- postiz-bcrg-internal
|
||||||
|
|
@ -70,9 +69,6 @@ services:
|
||||||
postiz-bcrg-postgres:
|
postiz-bcrg-postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
container_name: postiz-bcrg-postgres
|
container_name: postiz-bcrg-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-bcrg"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
|
|
@ -91,9 +87,6 @@ services:
|
||||||
postiz-bcrg-redis:
|
postiz-bcrg-redis:
|
||||||
image: redis:7.2
|
image: redis:7.2
|
||||||
container_name: postiz-bcrg-redis
|
container_name: postiz-bcrg-redis
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-bcrg"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping
|
test: redis-cli ping
|
||||||
|
|
@ -108,9 +101,6 @@ services:
|
||||||
postiz-bcrg-temporal-postgres:
|
postiz-bcrg-temporal-postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
container_name: postiz-bcrg-temporal-postgres
|
container_name: postiz-bcrg-temporal-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-bcrg"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: temporal
|
POSTGRES_PASSWORD: temporal
|
||||||
|
|
@ -123,9 +113,6 @@ services:
|
||||||
postiz-bcrg-temporal:
|
postiz-bcrg-temporal:
|
||||||
image: temporalio/auto-setup:1.28.1
|
image: temporalio/auto-setup:1.28.1
|
||||||
container_name: postiz-bcrg-temporal
|
container_name: postiz-bcrg-temporal
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-bcrg"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- postiz-bcrg-temporal-postgres
|
- postiz-bcrg-temporal-postgres
|
||||||
|
|
|
||||||
|
|
@ -49,12 +49,11 @@ services:
|
||||||
- postiz-cc-uploads:/uploads/
|
- postiz-cc-uploads:/uploads/
|
||||||
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false"
|
- "traefik.enable=true"
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
- "traefik.http.routers.postiz-cc.rule=Host(`socials.crypto-commons.org`) || Host(`socials.valleyofthecommons.com`)"
|
- "traefik.http.routers.postiz-cc.rule=Host(`socials.crypto-commons.org`) || Host(`socials.valleyofthecommons.com`)"
|
||||||
- "traefik.http.routers.postiz-cc.entrypoints=web,websecure"
|
- "traefik.http.routers.postiz-cc.entrypoints=web,websecure"
|
||||||
- "traefik.http.services.postiz-cc.loadbalancer.server.port=5000"
|
- "traefik.http.services.postiz-cc.loadbalancer.server.port=5000"
|
||||||
|
- "traefik.docker.network=traefik-public"
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- postiz-cc-internal
|
- postiz-cc-internal
|
||||||
|
|
@ -70,9 +69,6 @@ services:
|
||||||
postiz-cc-postgres:
|
postiz-cc-postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
container_name: postiz-cc-postgres
|
container_name: postiz-cc-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
|
|
@ -91,9 +87,6 @@ services:
|
||||||
postiz-cc-redis:
|
postiz-cc-redis:
|
||||||
image: redis:7.2
|
image: redis:7.2
|
||||||
container_name: postiz-cc-redis
|
container_name: postiz-cc-redis
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping
|
test: redis-cli ping
|
||||||
|
|
@ -108,9 +101,6 @@ services:
|
||||||
postiz-cc-elasticsearch:
|
postiz-cc-elasticsearch:
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.24
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.24
|
||||||
container_name: postiz-cc-elasticsearch
|
container_name: postiz-cc-elasticsearch
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- discovery.type=single-node
|
- discovery.type=single-node
|
||||||
|
|
@ -129,9 +119,6 @@ services:
|
||||||
postiz-cc-temporal-postgres:
|
postiz-cc-temporal-postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
container_name: postiz-cc-temporal-postgres
|
container_name: postiz-cc-temporal-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: temporal
|
POSTGRES_PASSWORD: temporal
|
||||||
|
|
@ -144,9 +131,6 @@ services:
|
||||||
postiz-cc-temporal:
|
postiz-cc-temporal:
|
||||||
image: temporalio/auto-setup:1.28.1
|
image: temporalio/auto-setup:1.28.1
|
||||||
container_name: postiz-cc-temporal
|
container_name: postiz-cc-temporal
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-cc"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- postiz-cc-temporal-postgres
|
- postiz-cc-temporal-postgres
|
||||||
|
|
|
||||||
|
|
@ -49,12 +49,11 @@ services:
|
||||||
- postiz-p2pf-uploads:/uploads/
|
- postiz-p2pf-uploads:/uploads/
|
||||||
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
- /opt/infisical/entrypoint-wrapper.sh:/infisical-entrypoint.sh:ro
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false"
|
- "traefik.enable=true"
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-p2pf"
|
|
||||||
- "traefik.http.routers.postiz-p2pf.rule=Host(`p2pf.rsocials.online`) || Host(`socials.p2pfoundation.net`)"
|
- "traefik.http.routers.postiz-p2pf.rule=Host(`p2pf.rsocials.online`) || Host(`socials.p2pfoundation.net`)"
|
||||||
- "traefik.http.routers.postiz-p2pf.entrypoints=web,websecure"
|
- "traefik.http.routers.postiz-p2pf.entrypoints=web,websecure"
|
||||||
- "traefik.http.services.postiz-p2pf.loadbalancer.server.port=5000"
|
- "traefik.http.services.postiz-p2pf.loadbalancer.server.port=5000"
|
||||||
|
- "traefik.docker.network=traefik-public"
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- postiz-p2pf-internal
|
- postiz-p2pf-internal
|
||||||
|
|
@ -70,9 +69,6 @@ services:
|
||||||
postiz-p2pf-postgres:
|
postiz-p2pf-postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
container_name: postiz-p2pf-postgres
|
container_name: postiz-p2pf-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-p2pf"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
|
|
@ -91,9 +87,6 @@ services:
|
||||||
postiz-p2pf-redis:
|
postiz-p2pf-redis:
|
||||||
image: redis:7.2
|
image: redis:7.2
|
||||||
container_name: postiz-p2pf-redis
|
container_name: postiz-p2pf-redis
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-p2pf"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping
|
test: redis-cli ping
|
||||||
|
|
@ -108,9 +101,6 @@ services:
|
||||||
postiz-p2pf-temporal-postgres:
|
postiz-p2pf-temporal-postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
container_name: postiz-p2pf-temporal-postgres
|
container_name: postiz-p2pf-temporal-postgres
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-p2pf"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: temporal
|
POSTGRES_PASSWORD: temporal
|
||||||
|
|
@ -123,9 +113,6 @@ services:
|
||||||
postiz-p2pf-temporal:
|
postiz-p2pf-temporal:
|
||||||
image: temporalio/auto-setup:1.28.1
|
image: temporalio/auto-setup:1.28.1
|
||||||
container_name: postiz-p2pf-temporal
|
container_name: postiz-p2pf-temporal
|
||||||
labels:
|
|
||||||
- "sablier.enable=true"
|
|
||||||
- "sablier.group=postiz-p2pf"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- postiz-p2pf-temporal-postgres
|
- postiz-p2pf-temporal-postgres
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue