mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(api-docs): ♻ extract api-docs.env
This commit is contained in:
parent
e2a705c858
commit
3377713f84
4 changed files with 5 additions and 6 deletions
3
.env
3
.env
|
|
@ -1,9 +1,6 @@
|
|||
REVERSE_PROXY_HOST_PORT_HTTP=8080
|
||||
REVERSE_PROXY_HOST_PORT_HTTPS=
|
||||
|
||||
API_DOCS_URLS="[ { url: \"http://localhost:8080/api/directory/v1/swagger.json\", name: \"Directory\" } ]"
|
||||
API_DOCS_URLS_PRIMARY_NAME=Directory
|
||||
|
||||
ARCHIVAL_APPLICATION_INSIGHTS_INSTRUMENTATION_KEY=
|
||||
ARCHIVAL_APPLICATION_INSIGHTS_SERVER_TELEMETRY_CHANNEL_STORAGE_PATH=application-insights
|
||||
ARCHIVAL_REDIS_CONNECTION_STRING=archival-scheduling-db:6379
|
||||
|
|
|
|||
2
api-docs.env
Normal file
2
api-docs.env
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
URLS="[ { url: \"http://localhost:8080/api/directory/v1/swagger.json\", name: \"Directory\" } ]"
|
||||
URLS_PRIMARY_NAME=Directory
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include=".env" />
|
||||
<None Include="api-docs.env" />
|
||||
<None Include="docker-compose.directory.migrations.tests.yml" />
|
||||
<None Include="docker-compose.override.yml">
|
||||
<DependentUpon>docker-compose.yml</DependentUpon>
|
||||
|
|
|
|||
|
|
@ -18,9 +18,8 @@ services:
|
|||
- reverse-proxy
|
||||
depends_on:
|
||||
- directory-api
|
||||
environment:
|
||||
URLS: ${API_DOCS_URLS}
|
||||
URLS_PRIMARY_NAME: ${API_DOCS_URLS_PRIMARY_NAME}
|
||||
env_file:
|
||||
- api-docs.env
|
||||
|
||||
archival-api:
|
||||
image: ghcr.io/collinbarrett/filterlists-archival-api
|
||||
|
|
|
|||
Loading…
Reference in a new issue