version: '3.8' services: postgres: image: postgres:15-alpine container_name: nutshell_postgres environment: POSTGRES_USER: nutshell POSTGRES_PASSWORD: nutshell_dev_password POSTGRES_DB: nutshell_db ports: - "5434:5432" volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U nutshell"] interval: 10s timeout: 5s retries: 5 file_storage: image: nginx:alpine container_name: nutshell_file_storage volumes: - file_uploads:/data/uploads - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - "8080:80" depends_on: - postgres volumes: postgres_data: file_uploads: