File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 1- # Postgres
2- POSTGRES_DB=horizon
3- POSTGRES_USER=horizon
4- POSTGRES_PASSWORD=I8p4E2mULz6v
5-
6- # Horizon
7- HORIZON__DATABASE__URL=postgresql+asyncpg://horizon:I8p4E2mULz6v@db:5432/horizon
8- HORIZON__AUTH__ACCESS_TOKEN__SECRET_KEY=bae1thahr8Iyaisai0kohvoh1aeg5quu
9- HORIZON__AUTH__PROVIDER=horizon.backend.providers.auth.dummy.DummyAuthProvider
10- HORIZON__SERVER__LOGGING__PRESET=colored
11- HORIZON__SERVER__DEBUG=false
12-
131# envs for Horizon integration tests
142HORIZON_HOST=horizon
153HORIZON_PORT=8000
164HORIZON_USER=horizon
17- HORIZON_PASSWORD=password
5+ HORIZON_PASSWORD=345UsedForTestOnly
186HORIZON_NAMESPACE=namespace
Original file line number Diff line number Diff line change 1- # Horizon
1+ # envs for Horizon integration tests
22export HORIZON_HOST = localhost
33export HORIZON_PORT = 8000
44export HORIZON_USER = horizon
5- export HORIZON_PASSWORD = password
5+ export HORIZON_PASSWORD = 345UsedForTestOnly
66export HORIZON_NAMESPACE = namespace
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ services:
33 db :
44 image : postgres:15-alpine
55 restart : unless-stopped
6- env_file : .env.docker
6+ environment :
7+ POSTGRES_DB : horizon
8+ POSTGRES_USER : horizon
9+ POSTGRES_PASSWORD : 123UsedForTestOnly
710 ports :
811 - 5432:5432
912 volumes :
@@ -18,7 +21,12 @@ services:
1821 backend :
1922 image : mtsrus/horizon-backend:latest
2023 restart : unless-stopped
21- env_file : .env.docker
24+ environment :
25+ HORIZON__DATABASE__URL : postgresql+asyncpg://horizon:123UsedForTestOnly@db:5432/horizon
26+ HORIZON__AUTH__ACCESS_TOKEN__SECRET_KEY : 234UsedForTestOnly
27+ HORIZON__AUTH__PROVIDER : horizon.backend.providers.auth.dummy.DummyAuthProvider
28+ HORIZON__SERVER__LOGGING__PRESET : colored
29+ HORIZON__SERVER__DEBUG : ' false'
2230 ports :
2331 - 8000:8000
2432 depends_on :
You can’t perform that action at this time.
0 commit comments