Skip to content

Commit

Permalink
create add-on environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatYYX committed Jan 5, 2018
1 parent c0b7bb6 commit ecc944f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.ache.yml
Expand Up @@ -17,3 +17,7 @@ services:
entrypoint: sh -c 'sleep 10 && /ache/bin/ache startServer -c /config/ -d /data'
networks:
- dig_net

mydig_ws:
environment:
ADDON_ACHE: "true"
4 changes: 4 additions & 0 deletions docker-compose.kafka-manager.yml
Expand Up @@ -21,3 +21,7 @@ services:
- kafka
networks:
- dig_net

mydig_ws:
environment:
ADDON_KAFKA_MANAGER: "true"
1 change: 1 addition & 0 deletions mydig-webservice/sandbox/config_docker.py
Expand Up @@ -77,6 +77,7 @@
'import': 'http://landmark-rest:5000/project/import/{project_name}'
},
'ache': {
'enable': len(os.getenv('ADDON_ACHE', '')) != 0,
'kafka_topic': 'ache',
'group_id': 'mydig',
'upload': {
Expand Down

0 comments on commit ecc944f

Please sign in to comment.