Skip to content

Commit

Permalink
fixing envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmota committed Sep 7, 2020
1 parent 8868f35 commit 37de144
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
7 changes: 3 additions & 4 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ services:
- HARENA_LOGGER_FLASK_PORT=10030
- HARENA_LOGGER_FLASK_DEBUG=True
- FLASK_DEBUG=True
- FLASK_ENV=development
- HARENA_LOGGER_MONGODB_HOST=mongodb
- HARENA_LOGGER_MONGODB_PORT=27017
- HARENA_LOGGER_MONGODB_DB=harena_logger
- HARENA_LOGGER_MONGODB_COLLECTION=executions
- HARENA_LOGGER_MONGODB_COLLECTION=event_logs
- HARENA_LOGGER_KAFKA_BROKERS=kafka1:19092
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
- FLASK_ENV=development
- LOGGING_NAME=harena-logger
- LOGGING_LEVEL=DEBUG

ports:
- 10030:10030
depends_on:
Expand Down
13 changes: 9 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@ services:
environment:
- HARENA_LOGGER_FLASK_HOST=0.0.0.0
- HARENA_LOGGER_FLASK_PORT=10030
- HARENA_LOGGER_FLASK_DEBUG=False
- HARENA_LOGGER_BROKER_HOST=broker
- HARENA_LOGGER_BROKER_PORT=1883
- HARENA_LOGGER_FLASK_DEBUG=True
- FLASK_DEBUG=True
- FLASK_ENV=production
- HARENA_LOGGER_MONGODB_HOST=mongodb
- HARENA_LOGGER_MONGODB_PORT=27017
- HARENA_LOGGER_MONGODB_DB=harena_logger
- HARENA_LOGGER_MONGODB_COLLECTION=executions
- HARENA_LOGGER_MONGODB_COLLECTION=event_logs
- HARENA_LOGGER_KAFKA_BROKERS=kafka1:19092
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
ports:
- 10030:10030
depends_on:
- kafka1
- mongodb
- zoo1
restart: always
restart: always
networks:
- harena-logger
Expand Down

0 comments on commit 37de144

Please sign in to comment.