name: sequin services: sequin: image: sequin/sequin:latest ports: - "7376:7376" environment: - PG_HOSTNAME=sequin_postgres - PG_DATABASE=sequin - PG_PORT=5432 - PG_USERNAME=postgres - PG_PASSWORD=postgres - PG_POOL_SIZE=20 - SECRET_KEY_BASE=wDPLYus0pvD6qJhKJICO4dauYPXfO/Yl782Zjtpew5qRBDp7CZvbWtQmY0eB13If - VAULT_KEY=2Sig69bIpuSm2kv0VQfDekET2qy8qUZGI8v3/h3ASiY= - REDIS_URL=redis://sequin_redis:6379 - CONFIG_FILE_PATH=/config/playground.yml volumes: - ./playground.yml:/config/playground.yml depends_on: - sequin_postgres - sequin_redis sequin_postgres: image: postgres:16 ports: - "7377:5432" environment: - POSTGRES_DB=sequin - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres command: ["postgres", "-c", "wal_level=logical"] volumes: - sequin_postgres_data:/var/lib/postgresql/data # Creates a sample database for Sequin's Quickstart guide - ./postgres-init:/docker-entrypoint-initdb.d sequin_redis: image: redis:7 ports: - "7378:6379" command: ["redis-server", "--port", "6379"] volumes: - sequin_redis_data:/data volumes: sequin_postgres_data: sequin_redis_data: