From f6a8cccac24fc4a038957d188b642461ee3824db Mon Sep 17 00:00:00 2001 From: Michael Winsauer Date: Sun, 20 Jan 2019 15:27:59 +0100 Subject: [PATCH] Move twitter API keys into env file --- g6t4.yml | 2 ++ service-twitter/.dockerignore | 1 + .../runConfigurations/TwitterServiceApplication.xml | 10 ++++++++++ service-twitter/src/main/resources/application.yml | 8 ++++---- service-twitter/twitter.env | 4 ++++ 5 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 service-twitter/twitter.env diff --git a/g6t4.yml b/g6t4.yml index 7d9398f..e9d9615 100644 --- a/g6t4.yml +++ b/g6t4.yml @@ -40,6 +40,8 @@ services: ports: - "8084:8084" restart: always + env_file: + - service-twitter/twitter.env service-website: build: ./service-website diff --git a/service-twitter/.dockerignore b/service-twitter/.dockerignore index 01dc736..80eb533 100644 --- a/service-twitter/.dockerignore +++ b/service-twitter/.dockerignore @@ -105,3 +105,4 @@ atlassian-ide-plugin.xml README.md *.iml !/.mvn/wrapper/maven-wrapper.jar +twitter.env diff --git a/service-twitter/.idea/runConfigurations/TwitterServiceApplication.xml b/service-twitter/.idea/runConfigurations/TwitterServiceApplication.xml index a350b35..f570e3f 100644 --- a/service-twitter/.idea/runConfigurations/TwitterServiceApplication.xml +++ b/service-twitter/.idea/runConfigurations/TwitterServiceApplication.xml @@ -1,6 +1,16 @@ + +