services: statusphere-db: env_file: .env expose: - 5435 image: postgres:17-alpine networks: - statusphere-net ports: - 5435:5435 volumes: - statusphere-db:/var/lib/postgresql/data statusphere-valkey: command: valkey-server --port $VALKEY_PORT --save 60 1 --loglevel $VALKEY_LOG_LEVEL --requirepass $VALKEY_PASSWORD env_file: .env expose: - 6380 image: valkey/valkey:8.1.6-alpine networks: - statusphere-net ports: - 6380:6380 volumes: - statusphere-valkey:/data statusphere-test-db: env_file: .env.test expose: - 54351 image: postgres:17-alpine networks: - statusphere-test-net ports: - 54351:54351 statusphere-test-valkey: command: valkey-server --port $VALKEY_PORT --save 60 1 --loglevel $VALKEY_LOG_LEVEL --requirepass $VALKEY_PASSWORD env_file: .env.test expose: - 6381 image: valkey/valkey:8.1.6-alpine networks: - statusphere-net ports: - 6381:6381 volumes: statusphere-db: statusphere-valkey: networks: statusphere-net: driver: bridge name: statusphere-net statusphere-test-net: driver: bridge name: statusphere-test-net