Initial from the sandbox repo.

This commit is contained in:
Casey LP
2023-01-28 13:54:24 +00:00
committed by GitHub
parent fced52f278
commit f10cfcc0b5
5 changed files with 161 additions and 2 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Build Container
on:
push:
branches:
- main
paths:
- "opensim/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
uses: actions/checkout@v2
- name: Login to ghcr.io
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u soup-bowl --password-stdin
#- name: Login to Docker Hub
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_USER }}
# password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build Container
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/soup-bowl/opensimulator-docker:edge
platforms: linux/amd64,linux/arm64
+5 -2
View File
@@ -1,2 +1,5 @@
# opensimulator-docker
Image compilation code for OpenSimulator and derivatives
# OpenSimulator in Docker
Work in progress to contain the OpenSimulator server software in a Docker container.
Not ready for general use.
+55
View File
@@ -0,0 +1,55 @@
[Const]
BaseHostname = "localhost"
BaseURL = http://${Const|BaseHostname}
PublicPort = "9000"
PrivURL = ${Const|BaseURL}
PrivatePort = "8003"
[Permissions]
automatic_gods = false
implicit_gods = false
allow_grid_gods = true
[Estates]
DefaultEstateName = OpenSim Standalone
DefaultEstateOwnerName = Governor Linden
DefaultEstateOwnerUUID = 00000000-0000-0000-0000-000000000000
DefaultEstateOwnerEMail = foobar@example.com
DefaultEstateOwnerPassword = password
[Network]
http_listener_port = 9000
ExternalHostNameForLSL = ${Const|BaseHostname}
shard = "OpenSim"
[ClientStack.LindenCaps]
Cap_GetTexture = "localhost"
Cap_GetMesh = "localhost"
Cap_AvatarPickerSearch = "localhost"
Cap_GetDisplayNames = "localhost"
[Messaging]
StorageProvider = OpenSim.Data.MySQL.dll
ConectionString = "Data Source=db;Database=metaverse;User ID=root;Password=password;Old Guids=true;"
[BulletSim]
AvatarToAvatarCollisionsByDefault = true
[RemoteAdmin]
enabled = true
access_password = "password"
enabled_methods = all
[XEngine]
AppDomainLoading = false
DeleteScriptsOnStartup = false
[OSSL]
Include-osslDefaultEnable = "config-include/osslDefaultEnable.ini"
[Architecture]
Include-Architecture = "config-include/Standalone.ini"
[WebStats]
enabled = true
+10
View File
@@ -0,0 +1,10 @@
; If you change the Region name, update [GridService] in StandaloneCommon.ini, otherwise
; avatars that haven't connected before will throw an error.
[Foobar]
RegionUUID = 92f0c4a2-e7b4-11ea-adc1-0242ac120002
Location = 1000,1000
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = localhost
+52
View File
@@ -0,0 +1,52 @@
; This is the main configuration file for an instance of OpenSim running in standalone mode
[DatabaseService]
StorageProvider = "OpenSim.Data.MySQL.dll"
ConnectionString = "Data Source=db;Database=metaverse;User ID=root;Password=password;Old Guids=true;"
[Hypergrid]
HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
[Modules]
AssetCaching = "FlotsamAssetCache"
Include-FlotsamCache = "config-include/FlotsamCache.ini"
[AssetService]
DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
AssetLoaderArgs = "assets/AssetSets.xml"
[GridService]
StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
Region_Foobar = "DefaultRegion, FallbackRegion"
ExportSupported = true
[LibraryModule]
LibraryName = "Library"
[LoginService]
WelcomeMessage = "Running OpenSimulator in Standalone Grid mode."
SRV_HomeURI = "${Hypergrid|HomeURI}"
SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}"
SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}"
SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}"
SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}"
SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}"
MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/"
[GridInfoService]
login = ${Const|BaseURL}:${Const|PublicPort}/
gridname = "OpenSimulator Sandbox Standalone"
gridnick = "osss"
welcome = ${Const|BaseURL}:8080
[GatekeeperService]
AllowTeleportsToAnyRegion = true
[EntityTransfer]
AccountForAppearance = "Test User, Astronaut Smith"
[UserProfilesService]
Enabled = false
LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"