Complete rebrand. Code now reads as a first-party Hanzo project, not
a forked codebase with upstream identifiers leaking through.
tsconfig path aliases (9 entries):
@gitroom/backend → @social/backend
@gitroom/frontend → @social/frontend
@gitroom/helpers → @social/helpers
@gitroom/nestjs-libraries → @social/nestjs-libraries
@gitroom/react → @social/react
@gitroom/plugins → @social/plugins
@gitroom/orchestrator → @social/orchestrator
@gitroom/extension → @social/extension
Workspace package names (apps/*/package.json):
postiz-backend → social-backend
postiz-frontend → social-frontend
postiz-orchestrator → social-orchestrator
postiz-extension → social-extension
postiz-command → social-command
@postiz/node → @social/node
Swept across 477 files: every import statement, env var (POSTIZ_*→SOCIAL_*),
identifier (featured_by_gitroom→featured_by_social, FEATURED_BY_GITROOM enum
key→FEATURED_BY_SOCIAL), prose mention, FAQ string, and i18n value in all
23 locale JSONs.
Preserved (required by AGPL-3.0): upstream-fork attribution in SECURITY.md,
README.md, CLAUDE.md ("hard fork of gitroomhq/postiz-app"). Required for
license compliance; not used by any code path.
Preserved (external npm dep): @postiz/wallets — this is a published wallet
provider package, not workspace code. We pull it as a normal dependency.
Verification: `grep -riE "postiz|gitroom" --include={ts,tsx,json,mjs,js,md,yaml,yml}`
excluding node_modules + legal docs + i18n.lock returns 0.
149 lines
3.7 KiB
YAML
149 lines
3.7 KiB
YAML
# Do **not** use this yml for production. It is not up-to-date.
|
|
# Use https://docs.social.com/installation/docker-compose
|
|
# This is only for the dev enviroment
|
|
|
|
services:
|
|
social-postgres:
|
|
# ref: https://hub.docker.com/_/postgres
|
|
image: postgres:17-alpine # 17.0
|
|
container_name: social-postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: social-local-pwd
|
|
POSTGRES_USER: social-local
|
|
POSTGRES_DB: social-db-local
|
|
TEMPORAL_ADDRESS: "temporal:7233"
|
|
volumes:
|
|
- postgres-volume:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432:5432
|
|
networks:
|
|
- social-network
|
|
social-redis:
|
|
# ref: https://hub.docker.com/_/redis
|
|
image: redis:7-alpine # 7.4.0
|
|
container_name: social-redis
|
|
restart: always
|
|
ports:
|
|
- 6379:6379
|
|
networks:
|
|
- social-network
|
|
social-pg-admin:
|
|
# ref: https://hub.docker.com/r/dpage/pgadmin4/tags
|
|
image: dpage/pgadmin4:latest
|
|
container_name: social-pg-admin
|
|
restart: always
|
|
ports:
|
|
- 8081:80
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: admin@admin.com
|
|
PGADMIN_DEFAULT_PASSWORD: admin
|
|
networks:
|
|
- social-network
|
|
social-redisinsight:
|
|
# ref: https://hub.docker.com/r/redis/redisinsight
|
|
image: redis/redisinsight:latest
|
|
container_name: social-redisinsight
|
|
links:
|
|
- social-redis
|
|
ports:
|
|
- '5540:5540'
|
|
volumes:
|
|
- redisinsight:/data
|
|
networks:
|
|
- social-network
|
|
restart: always
|
|
|
|
temporal-elasticsearch:
|
|
container_name: temporal-elasticsearch
|
|
image: elasticsearch:7.17.27
|
|
environment:
|
|
- cluster.routing.allocation.disk.threshold_enabled=true
|
|
- cluster.routing.allocation.disk.watermark.low=512mb
|
|
- cluster.routing.allocation.disk.watermark.high=256mb
|
|
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
|
|
- discovery.type=single-node
|
|
- ES_JAVA_OPTS=-Xms256m -Xmx256m
|
|
- xpack.security.enabled=false
|
|
networks:
|
|
- temporal-network
|
|
expose:
|
|
- 9200
|
|
volumes:
|
|
- /var/lib/elasticsearch/data
|
|
|
|
temporal-postgresql:
|
|
container_name: temporal-postgresql
|
|
image: postgres:16
|
|
environment:
|
|
POSTGRES_PASSWORD: temporal
|
|
POSTGRES_USER: temporal
|
|
networks:
|
|
- temporal-network
|
|
expose:
|
|
- 5432
|
|
volumes:
|
|
- /var/lib/postgresql/data
|
|
|
|
temporal:
|
|
container_name: temporal
|
|
ports:
|
|
- "7233:7233"
|
|
image: temporalio/auto-setup:1.28.1
|
|
depends_on:
|
|
- temporal-postgresql
|
|
- temporal-elasticsearch
|
|
environment:
|
|
- DB=postgres12
|
|
- DB_PORT=5432
|
|
- POSTGRES_USER=temporal
|
|
- POSTGRES_PWD=temporal
|
|
- POSTGRES_SEEDS=temporal-postgresql
|
|
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
|
|
- ENABLE_ES=true
|
|
- ES_SEEDS=temporal-elasticsearch
|
|
- ES_VERSION=v7
|
|
- TEMPORAL_NAMESPACE=default
|
|
networks:
|
|
- temporal-network
|
|
volumes:
|
|
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
|
|
labels:
|
|
kompose.volume.type: configMap
|
|
|
|
temporal-admin-tools:
|
|
container_name: temporal-admin-tools
|
|
image: temporalio/admin-tools:1.28.1-tctl-1.18.4-cli-1.4.1
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- TEMPORAL_CLI_ADDRESS=temporal:7233
|
|
networks:
|
|
- temporal-network
|
|
stdin_open: true
|
|
depends_on:
|
|
- temporal
|
|
tty: true
|
|
|
|
temporal-ui:
|
|
container_name: temporal-ui
|
|
image: temporalio/ui:2.34.0
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- TEMPORAL_CORS_ORIGINS=http://127.0.0.1:3000
|
|
networks:
|
|
- temporal-network
|
|
ports:
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
redisinsight:
|
|
postgres-volume:
|
|
external: false
|
|
|
|
networks:
|
|
social-network:
|
|
external: false
|
|
temporal-network:
|
|
driver: bridge
|
|
name: temporal-network
|