version: '2' services: db: image: registry.centos.org/postgresql/postgresql:9.6 ports: - "5432:5432" environment: POSTGRESQL_ADMIN_PASSWORD: mysecretpassword core: image: quay.io/openshiftio/fabric8-services-fabric8-wit:latest # command: -config /usr/local/wit/etc/config.yaml environment: F8_AUTH_URL: "http://localhost:8089" F8_DEVELOPER_MODE_ENABLED: "true" ports: - "8080:8080" network_mode: "host" depends_on: - auth db-auth: image: registry.centos.org/postgresql/postgresql:9.6 ports: - "5433:5432" environment: POSTGRESQL_ADMIN_PASSWORD: mysecretpassword auth: image: quay.io/openshiftio/fabric8-services-fabric8-auth:latest # command: -config /usr/local/auth/etc/config.yaml environment: AUTH_WIT_URL: "http://localhost:8080" AUTH_DEVELOPER_MODE_ENABLED: "true" ports: - "8089:8089" network_mode: "host" depends_on: - db-auth swagger_ui: image: swaggerapi/swagger-ui:latest ports: - "8081:8080" environment: API_URL: "http://localhost:8080/api/swagger.json"