2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 14:25:30 +00:00

Fix issues pertaining to running env

- Add `debug` flag to `sbt.sh`
- Remove need for `LOCALSTACK_EXT_HOSTNAME` (provided by update to
backing Docker images)
This commit is contained in:
Ryan Emerle
2022-01-31 13:40:45 -05:00
parent f25a95a24e
commit 08587fe1be
6 changed files with 37 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ VINYLDNS_PORTAL_URL=http://localhost:9001
PORTAL_PORT=9001
PLAY_HTTP_SECRET_KEY=change-this-for-prod
VINYLDNS_BACKEND_URL=http://vinyldns-api:9000
# VINYLDNS_BACKEND_URL=http://host.docker.internal:9000 # You can use this when the API is running locally, but the portal is in a container
LDAP_PROVIDER_URL=ldap://vinyldns-ldap:19004
TEST_LOGIN=false

View File

@@ -21,7 +21,6 @@ services:
VINYLDNS_BASE_VERSION: "${VINYLDNS_BASE_VERSION}"
environment:
RUN_SERVICES: "deps-only tail-logs"
LOCALSTACK_EXT_HOSTNAME: "${LOCALSTACK_EXT_HOSTNAME:-vinyldns-integration}"
env_file:
.env
ports:
@@ -42,7 +41,7 @@ services:
volumes:
- ../build/docker/api/application.conf:/opt/vinyldns/conf/application.conf
env_file:
.env
- .env
ports:
- "9000:9000"
depends_on:

View File

@@ -101,7 +101,6 @@ while [[ $# -gt 0 ]]; do
shift
;;
-d | --deps-only)
export LOCALSTACK_EXT_HOSTNAME="localhost"
SERVICE="integration ldap"
shift
;;