forked from xoofx/UnityNuGet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
18 lines (18 loc) · 1.49 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: "3.9"
services:
unitynuget:
build: ../..
environment:
- Registry:RootHttpUrl=http://localhost:5000/ # Server Url to build the absolute path to the package.
- Registry:UnityScope=org.custom # Packages prefix, default is "org.nuget" but it can be modified to be able to have several containers with different prefixes and to be able to add several scope registries.
- Registry:MinimumUnityVersion=2020.1 # Minimum version of Unity required to install packages, default is "2019.1".
- Registry:PackageNameNuGetPostFix= (Custom NuGet) # Suffix of the package title, useful in case of having several containers and several scope registries, default is " (NuGet)".
- Registry:RootPersistentFolder=custom_unity_packages # Path to the folder where the packages cache will be stored, default is "unity_packages".
- Registry:UpdateInterval=00:01:00 # Packages update interval, default is "00:10:00" (10 minutes).
- Logging:LogLevel:Default=Information
ports:
- 5000:80
volumes:
- ./unity_packages:/app/custom_unity_packages # Map the folder with the packages cache.
- ./registry.json:/app/registry.json # Override the package registry to be able to add or remove packages.
- ./NuGet.Config:/root/.nuget/NuGet/NuGet.Config # Override Nuget.config file with repository information. This file can be used to configure a custom NuGet repository: https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file