version: "2.4" services: mongo: # If upgrading from PWA 4.x, use the pwa-mongo image at least once to # prep existing MongoDB 4.2 installations for downgrading to 4.0.3. # image: perfsonar/pwa-mongo image: mongo:4.0.3 restart: unless-stopped volumes: - /usr/local/data/mongo:/data/db networks: - pwa sca-auth: image: perfsonar/sca-auth restart: unless-stopped volumes: - /etc/pwa/auth:/app/api/config - /usr/local/data/auth:/db networks: - pwa pwa-admin1: image: perfsonar/pwa-admin restart: unless-stopped volumes: - /etc/pwa:/app/api/config:ro networks: - pwa pwa-pub1: image: perfsonar/pwa-pub restart: unless-stopped volumes: - /etc/pwa:/app/api/config:ro networks: - pwa nginx: image: nginx restart: unless-stopped volumes: - /etc/pwa/shared:/shared:ro - /etc/pwa/nginx:/etc/nginx:ro - /etc/pwa/nginx/certs:/certs:ro ports: - "80:80" - "443:443" - "9443:9443" networks: - pwa networks: pwa: driver: bridge