Skip to content

Commit

Permalink
Fixed accidentally changed env file names.
Browse files Browse the repository at this point in the history
Readded secrets template
  • Loading branch information
DoctressWasTaken committed Feb 28, 2021
1 parent 999dec7 commit 2b42734
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
venv/*
.idea/*
secrets_template.env
secrets.env

.py3/
*/.py3/*
Expand Down
2 changes: 1 addition & 1 deletion compose-global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
environment:
- SERVER=NA1,EUW1,KR
env_file:
- secrets_template.env
- secrets.env
ports:
- 8003:8000

Expand Down
14 changes: 7 additions & 7 deletions compose-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- UPDATE_INTERVAL=1
- WORKER=5
env_file:
- secrets_template.env
- secrets.env
restart: always
volumes:
- ranking_progress:/project/configs/
Expand All @@ -34,7 +34,7 @@ services:
environment:
- SERVER=${SERVER}
env_file:
- secrets_template.env
- secrets.env

summoner_id: # SI
hostname: summoner_ids
Expand All @@ -45,7 +45,7 @@ services:
environment:
- SERVER=${SERVER}
env_file:
- secrets_template.env
- secrets.env
restart: always

match_history_manager:
Expand All @@ -58,7 +58,7 @@ services:
context: services/match_history_manager
image: lightshield/lightshield_match_history_manager:${TAG}
env_file:
- secrets_template.env
- secrets.env

match_history: # MH
hostname: match_history
Expand All @@ -71,7 +71,7 @@ services:
- QUEUES=420
restart: always
env_file:
- secrets_template.env
- secrets.env

match_details_manager:
hostname: match_details
Expand All @@ -83,7 +83,7 @@ services:
- LIMIT=5000
- SERVER=${SERVER}
env_file:
- secrets_template.env
- secrets.env

match_details: # MH
hostname: match_details
Expand All @@ -97,7 +97,7 @@ services:
- BATCH_SIZE=30
restart: always
env_file:
- secrets_template.env
- secrets.env

volumes:
ranking_progress:
Expand Down
15 changes: 15 additions & 0 deletions secrets_template.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
1 # Persistent DB
2 PERSISTENT_HOST=localhost
3 PERSISTENT_DATABASE=postgres
4 PERSISTENT_PORT=5432
5
6 # Buffer DB
7 BUFFER_HOST=localhost
8 BUFFER_PORT=6379
9
10 # Backlog of details pulled
11 # This should either be a timestamp/date or a relative delay value appropriated for postgres (e.g. CURRENT_DATE - 30)
12 DETAILS_CUTOFF=CURRENT_DATE - 45
13
14 # Task blocking duration in minutes
15 TASK_BLOCKING=2

0 comments on commit 2b42734

Please sign in to comment.