mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
build: 🔨 work on docker-compose
This commit is contained in:
parent
32e1191263
commit
bdb07bd0d8
3 changed files with 25 additions and 3 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<None Include="docker-compose.override.yml">
|
||||
<DependentUpon>docker-compose.yml</DependentUpon>
|
||||
</None>
|
||||
<None Include="docker-compose.prod.yml" />
|
||||
<None Include="docker-compose.yml" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
@ -1,11 +1,17 @@
|
|||
# overrides for Visual Studio development
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
filterlists.reverse_proxy:
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./reverse-proxy/conf.d.dev:/etc/nginx/conf.d:ro
|
||||
|
||||
filterlists.directory.api:
|
||||
build:
|
||||
dockerfile: src/FilterLists.Directory.Api/debug.Dockerfile
|
||||
dockerfile: directory/src/FilterLists.Directory.Api/debug.Dockerfile
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ASPNETCORE_URLS=http://+:80
|
||||
ports:
|
||||
- "80"
|
||||
15
docker-compose.prod.yml
Normal file
15
docker-compose.prod.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# overrides for production deployment
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
filterlists.reverse_proxy:
|
||||
ports:
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./reverse-proxy/conf.d:/etc/nginx/conf.d:ro
|
||||
- ~/cert:/etc/nginx/cert:ro
|
||||
|
||||
filterlists.web:
|
||||
build:
|
||||
context: . # hack for https://github.com/docker/compose/issues/4047
|
||||
Loading…
Reference in a new issue