services: db: image: postgres:16-alpine restart: unless-stopped environment: POSTGRES_DB: money POSTGRES_USER: money POSTGRES_PASSWORD: money ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data app: build: . restart: unless-stopped depends_on: - db environment: DATABASE_URL: postgresql://money:money@db:5432/money?schema=public SESSION_SECRET: change-this-secret-in-production ports: - "3000:3000" volumes: - uploads_data:/app/uploads volumes: postgres_data: uploads_data: