services: cache: container_name: daggerbot-redis image: redis/redis-stack-server:7.4.0-rc2 restart: unless-stopped ports: - 6379:6379/tcp db: container_name: daggerbot-postgres image: postgres:16.4-alpine3.20 restart: unless-stopped ports: - 5432:5432/tcp volumes: - /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw environment: #POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_DB: ${POSTGRES_DB}