Skip to content

Commit

Permalink
Fix networking so that services can communicate with each other
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunckt committed Jun 12, 2018
1 parent f4a614e commit 3a0bed7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion compose/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
ADMIN_LIST:
AUTH_RESINOS_REGISTRY_CODE: ${OPENBALENA_RESINOS_REGISTRY_CODE}
BALENA_ROOT_CA: ${OPENBALENA_ROOT_CA}
DB_HOST: db
DB_HOST: db.${OPENBALENA_HOST_NAME}
DB_PASSWORD: docker
DB_PORT: 5432
DB_USER: docker
Expand Down Expand Up @@ -164,6 +164,16 @@ services:
- "222:222"
- "443:443"
- "5432:5432"
networks:
default:
aliases:
- api.${OPENBALENA_HOST_NAME}
- registry.${OPENBALENA_HOST_NAME}
- vpn.${OPENBALENA_HOST_NAME}
- db.${OPENBALENA_HOST_NAME}
# FIXME: remove
- proxy.${OPENBALENA_HOST_NAME}
- img.${OPENBALENA_HOST_NAME}
environment:
BALENA_ROOT_CA: ${OPENBALENA_ROOT_CA}
HAPROXY_HOSTNAME: ${OPENBALENA_HOST_NAME}
Expand Down

0 comments on commit 3a0bed7

Please sign in to comment.