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