version: "3.7" services: postgresql: container_name: postgres image: docker.io/library/postgres:12 volumes: - db-data:/var/lib/postgresql/data environment: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_DB: authentik ports: - 127.0.0.1:5432:5432 restart: always redis: container_name: redis image: docker.io/library/redis ports: - 127.0.0.1:6379:6379 restart: always s3: container_name: s3 image: docker.io/zenko/cloudserver environment: REMOTE_MANAGEMENT_DISABLE: "1" SCALITY_ACCESS_KEY_ID: accessKey1 SCALITY_SECRET_ACCESS_KEY: secretKey1 ports: - 8020:8000 volumes: - s3-data:/usr/src/app/localData - s3-metadata:/usr/scr/app/localMetadata restart: always volumes: db-data: driver: local s3-data: driver: local s3-metadata: driver: local