Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gaseous-server and Baikal to marketplace #163

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions servapps/Baikal/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"cosmos-installer": {
"form": [
{
"name": "adminOnly",
"label": "Do you want to make this service admin only?",
bgro82 marked this conversation as resolved.
Show resolved Hide resolved
"initialValue": false,
"type": "checkbox"
},
{
"name": "baikaldata",
"label": "Where do you want to store Baikal's data?",
"initialValue": "/var/www/baikal/Specific",
"type": "text"
},
]
},
"services": {
"{ServiceName}": {
"image": "ckulka/baikal:nginx",
"restart": "always",
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/var/www/baikal/config",
"type": "volume"
},
{
"source": "{ServiceName}-data",
bgro82 marked this conversation as resolved.
Show resolved Hide resolved
"target": "{Context.baikaldata}",
"type": "bind"
}
],
"container_name": "{ServiceName}",
"labels": {
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Baikal/icon.png"
},
"network_mode": "cosmos-{ServiceName}-default",
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:80",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
{if Context.adminOnly}
, "AuthAdmin": true
{/if}
}
]
}
},
"volumes": {
"{ServiceName}-config": {},
"{ServiceName}-data": {}
},
"networks": {
"cosmos-{ServiceName}-default": {}
}
}
9 changes: 9 additions & 0 deletions servapps/Baikal/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Baikal",
"longDescription": "<p>Baïkal is a lightweight CalDAV+CardDAV server. It offers an extensive web interface with easy management of users, address books and calendars. It is fast and simple to install and only needs a basic php capable server. The data can be stored in a MySQL or a SQLite database.< /p>",
"description": " Baïkal is a Calendar+Contacts server ",
"tags": ["emulation", "games", "self-hosted", "open-source", "Gaseous"],
"repository": "https://github.com/sabre-io/Baikal",
"image": "https://hub.docker.com/r/ckulka/baikal",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Baikal/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
104 changes: 104 additions & 0 deletions servapps/Gaseous/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"cosmos-installer": {
"form": [
{
"name": "igclientid",
"label": "What is your internet games client id? See: https://api-docs.igdb.com/#account-creation to set up",
"type": "text"
},
{
"name": "igclientsecret",
"label": "What is your internet games client secret?",
"type": "text"
}
]
},

"services": {
"{ServiceName}": {
"container_name": "{ServiceName}",
"image": "gaseousgames/gaseousserver:latest",
"build": {
"context": "./",
"dockerfile": "./build/Dockerfile"
},
"restart": "unless-stopped",
"networks": {
"{ServiceName}": {}
},
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:80",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
}
],
"volumes": [
{
"source": "{ServiceName}",
"target": "/home/gaseous/.gaseous-server",
"type": "volume"
}
],
"environment": [
"TZ",
"dbhost={ServiceName}-db",
"dbuser=root",
"dbpass={Passwords.0}",
"igdbclientid={Context.igclientid}",
"igdbclientsecret={Context.igclientsecret}"
],
"hostname": "{ServiceName}",
"network_mode": "cosmos-{ServiceName}-default",
"labels": {
"cosmos.stack": "{ServiceName}",
"cosmos.stack.main": "{ServiceName}",
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Gaseous/icon.png"
}
},
"{ServiceName}-db": {
"container_name": "{ServiceName}-db",
"image": "mariadb",
"restart": "unless-stopped",
"networks": {
"{ServiceName}": {}
},
"volumes": [
{
"source": "{ServiceName}-db",
"target": "/var/lib/mysql",
"type": "volume"
}
],
"environment": [
"MARIADB_ROOT_PASSWORD={Passwords.0}",
"MARIADB_USER=gaseous",
"MARIADB_PASSWORD={Passwords.1}"
],
"hostname": "{ServiceName}-db",
"network_mode": "cosmos-{ServiceName}-default",
"labels": {
"cosmos.stack": "{ServiceName}",
"cosmos.stack.main": "{ServiceName}",
"cosmos-auto-update": "true"
}
}
},
"networks": {
"{ServiceName}": {},
"cosmos-{ServiceName}-default": {}
},
"volumes": {
"{ServiceName}": {},
"{ServiceName}-db": {}
}
}
9 changes: 9 additions & 0 deletions servapps/Gaseous/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Gaseous-server",
"longDescription": "<p>A game ROM manager, with a built in web based emulator using multiple sources to identify and provide metadata < /p>",
"description": "A game ROM manager, with a built in web based emulator using multiple sources to identify and provide metadata ",
"tags": ["emulation", "games", "self-hosted", "open-source", "Gaseous"],
"repository": "https://github.com/gaseous-project/gaseous-server",
"image": "https://hub.docker.com/r/gaseousgames/gaseousserver",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Gaseous/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.