version: '3.9' services: prosody: image: prosody restart: unless-stopped ports: - "5000:5000" - "5222:5222" - "5223:5223" - "5269:5269" - "5281:5281" environment: DOMAIN: localhost E2E_POLICY_WHITELIST: "admin@localhost, user1@localhost" LOG_LEVEL: debug PROSODY_ADMINS: "admin@localhost, admin2@localhost" volumes: - ./certs:/usr/local/etc/prosody/certs prosody_internal_storage: image: prosody restart: unless-stopped ports: - "5000:5000" - "5222:5222" - "5223:5223" - "5269:5269" - "5281:5281" environment: DOMAIN: localhost E2E_POLICY_WHITELIST: "admin@localhost, user1@localhost" LOG_LEVEL: debug PROSODY_ADMINS: "admin@localhost, admin2@localhost" DEFAULT_STORAGE: "internal" STORAGE_ARCHIVE2: "internal" volumes: - ./certs:/usr/local/etc/prosody/certs prosody_internal_storage_archive: image: prosody restart: unless-stopped ports: - "5000:5000" - "5222:5222" - "5223:5223" - "5269:5269" - "5281:5281" environment: DOMAIN: localhost E2E_POLICY_WHITELIST: "admin@localhost, user1@localhost" LOG_LEVEL: debug PROSODY_ADMINS: "admin@localhost, admin2@localhost" DEFAULT_STORAGE: "internal" ARCHIVE_STORE: "archive" volumes: - ./certs:/usr/local/etc/prosody/certs prosody_postgres: image: prosody restart: unless-stopped ports: - "5000:5000" - "5222:5222" - "5223:5223" - "5269:5269" - "5281:5281" environment: DOMAIN: localhost E2E_POLICY_WHITELIST: "admin@localhost, user1@localhost" LOG_LEVEL: debug PROSODY_ADMINS: "admin@localhost, admin2@localhost" #DB_DRIVER: "MySQL" DB_DRIVER: "PostgreSQL" DB_DATABASE: "prosody" DB_HOST: "postgres" DB_PORT: "5432" DB_USERNAME: "prosody" DB_PASSWORD: "prosody" volumes: - ./certs:/usr/local/etc/prosody/certs depends_on: - postgres postgres: image: postgres:14-alpine restart: unless-stopped environment: POSTGRES_DB: prosody POSTGRES_USER: prosody POSTGRES_PASSWORD: prosody