Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
'make dev' fails to start because of container connection issue on ma…
Browse files Browse the repository at this point in the history
…cOS (#1705) (#1713)

keep the previous changes in `docker-compose.macos.yml` for now
revert the changes as they break on Linux

Fixes #1705

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
  • Loading branch information
xcoulon authored Oct 13, 2017
1 parent 244ff2c commit 6412449
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 5 deletions.
39 changes: 39 additions & 0 deletions docker-compose.macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: '2'

services:
db:
image: registry.centos.org/postgresql/postgresql:9.6
ports:
- "5432:5432"
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
core:
image: docker.io/fabric8/fabric8-wit:latest
# command: -config /usr/local/wit/etc/config.yaml
environment:
F8_AUTH_URL: "http://localhost:8089"
F8_DEVELOPER_MODE_ENABLED: "true"
F8_POSTGRES_HOST: db
F8_POSTGRES_PORT: 5432
ports:
- "8080:8080"
depends_on:
- auth
db-auth:
image: registry.centos.org/postgresql/postgresql:9.6
ports:
- "5433:5432"
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
auth:
image: docker.io/fabric8/fabric8-auth:latest
# command: -config /usr/local/auth/etc/config.yaml
environment:
AUTH_WIT_URL: "http://localhost:8080"
AUTH_DEVELOPER_MODE_ENABLED: "true"
AUTH_POSTGRES_HOST: db-auth
AUTH_POSTGRES_PORT: 5432
ports:
- "8089:8089"
depends_on:
- db-auth
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ services:
environment:
F8_AUTH_URL: "http://localhost:8089"
F8_DEVELOPER_MODE_ENABLED: "true"
F8_POSTGRES_HOST: db
F8_POSTGRES_PORT: 5432
ports:
- "8080:8080"
network_mode: "host"
depends_on:
- auth
db-auth:
Expand All @@ -31,9 +30,8 @@ services:
environment:
AUTH_WIT_URL: "http://localhost:8080"
AUTH_DEVELOPER_MODE_ENABLED: "true"
AUTH_POSTGRES_HOST: db-auth
AUTH_POSTGRES_PORT: 5432
ports:
- "8089:8089"
network_mode: "host"
depends_on:
- db-auth
- db-auth

0 comments on commit 6412449

Please sign in to comment.