From 2e4e66766e2f2db4477300801cb9ed3e9cd061d2 Mon Sep 17 00:00:00 2001 From: ALinuxNinja Date: Thu, 27 Apr 2017 20:21:29 -0400 Subject: [PATCH] remove hostname setting --- docker-compose.yml | 1 - scripts/start.sh | 3 --- 2 files changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 991cecb..e5b3b8c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,6 @@ services: - ./data/postal:/opt/postal/config - ./data/docker:/docker environment: - - POSTAL_HOSTNAME=idontknow.nowhere.com - MYSQL_ROOT_PASSWORD=changeme - MYSQL_DATABASE=postal - RABBITMQ_DEFAULT_USER=postal diff --git a/scripts/start.sh b/scripts/start.sh index 79383d9..89ddb1a 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -10,9 +10,6 @@ if [[ $(cat /opt/postal/config/postal.yml| grep -i web_server |wc -l) == 0 ]]; t cat /docker/webserver_bind.yml >> /opt/postal/config/postal.yml fi -## Set Hostname -sed -i "s/postal\.example\.com/$POSTAL_HOSTNAME/" /opt/postal/config/postal.yml - ## Set MySQL/RabbitMQ usernames/passwords ### MySQL Main DB sed -i -e '/main_db:/!b' -e ':a' -e "s/host.*/host: mysql/;t trail" -e 'n;ba' -e ':trail' -e 'n;btrail' /opt/postal/config/postal.yml