Skip to content

Instantly share code, notes, and snippets.

@debloper
Last active October 4, 2017 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debloper/b3f0c12c72986080631460e73b0fe633 to your computer and use it in GitHub Desktop.
Save debloper/b3f0c12c72986080631460e73b0fe633 to your computer and use it in GitHub Desktop.
Fabric8 Planner Stack
version: '3'
services:
planner:
build: .
container_name: fabric8-planner-runtime
image: fabric8-planner-runtime
# command: npm run test:unit
environment:
FABRIC8_WIT_API_URL: http://localhost:8080/api/
FABRIC8_SSO_API_URL: https://sso.prod-preview.openshift.io/
FABRIC8_REALM: fabric8-test
depends_on:
- core
networks:
- default
ports:
- "8088:8080"
volumes:
- ./runtime/dist:/dist:Z
auth:
container_name: fabric8-planner-auth
image: docker.io/fabric8/fabric8-auth:latest
entrypoint: bin/auth
depends_on:
- db-auth
environment:
AUTH_WIT_URL: "http://localhost:8080"
AUTH_KEYCLOAK_REALM: "fabric8-test"
AUTH_DEVELOPER_MODE_ENABLED: "true"
network_mode: "host"
ports:
- "8089:8089"
core:
container_name: fabric8-planner-core
image: fabric8/fabric8-wit:latest
entrypoint: bin/wit
depends_on:
- auth
environment:
F8_DEVELOPER_MODE_ENABLED: "true"
F8_AUTH_URL: "http://localhost:8089"
network_mode: "host"
ports:
- "8080:8080"
db-auth:
container_name: fabric8-planner-db-auth
image: registry.centos.org/postgresql/postgresql:9.5
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
ports:
- "5433:5432"
db-data:
container_name: fabric8-planner-db-data
image: registry.centos.org/postgresql/postgresql:9.5
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
ports:
- "5432:5432"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment