version: "3.9" services: postgres: image: postgres:16 container_name: onlypets-postgres restart: unless-stopped ports: - "55432:5432" environment: POSTGRES_USER: onlypets_user POSTGRES_PASSWORD: onlypets_pass POSTGRES_DB: onlypets volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: