-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 852 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (30 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3.4'
services:
aspnetcoreexamples.mvc:
image: ${DOCKER_REGISTRY-}aspnetcoreexamplesmvc
build:
context: .
dockerfile: AspNetCoreExamples.Mvc/Dockerfile
aspnetcoreexamples.webapi:
image: ${DOCKER_REGISTRY-}aspnetcoreexampleswebapi
build:
context: .
dockerfile: AspNetCoreExamples.WebApi/Dockerfile
nuget-server:
container_name: ${DOCKER_REGISTRY-}nugetserver
image: loicsharma/baget:latest
restart: always
environment:
ApiKey: "bagetsecret"
Storage__Type: "FileSystem"
Storage__Path: "/var/baget/packages"
Database__Type: "Sqlite"
Database__ConnectionString: "Data Source=/var/baget/baget.db"
Search__Type: "Database"
volumes:
- nugetserverdata:/var/baget
ports:
- "5300:80"
volumes:
nugetserverdata:
external: true