version: '3.8' services: postgres: image: postgres:16-alpine container_name: aethex-postgres environment: POSTGRES_USER: aethex POSTGRES_PASSWORD: aethex_dev POSTGRES_DB: aethex_dev ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U aethex"] interval: 5s timeout: 5s retries: 5 # Run auth-service locally with: npm run dev # This docker-compose only runs the database volumes: postgres_data: