Here’s a sample docker-compose:
version: "3.9" services: soapbox: image: registry.gitlab.com/soapbox-pub/soapbox restart: always ports: - "5000:5000" environment: - BACKEND_URL=http://rebased:4000 rebased: image: registry.gitlab.com/soapbox-pub/rebased restart: always depends_on: - db ports: - "4000:4000" volumes: - ./volumes/rebased/config.exs:/var/lib/pleroma/config.exs - ./volumes/rebased/uploads:/var/lib/pleroma/uploads environment: - PORT=4000 db: image: postgres:14-alpine restart: always volumes: - ./volumes/rebased-db/pgdata:/var/lib/postgresql/data - ./volumes/rebased-db/pginit:/docker-entrypoint-initdb. environment: - POSTGRES_DB=postgres - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres