services: spliit: image: crazymax/spliit:1.15.0 ports: - 3001:3000 depends_on: spliit_db: condition: service_healthy env_file: - .env spliit_db: image: postgres:17 volumes: - ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] interval: 5s timeout: 5s retries: 5 environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}