Skip to content
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
6 changes: 4 additions & 2 deletions servapps/Discourse/cosmos-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
]
},
"minVersion": "0.9.0",
"minVersion": "0.21.0",
"services": {
"{ServiceName}": {
"image": "bitnami/discourse:latest",
Expand Down Expand Up @@ -74,7 +74,9 @@
"container_name": "{ServiceName}-sidekiq",
"hostname": "{ServiceName}-sidekiq",
"restart": "unless-stopped",
"command": "/opt/bitnami/scripts/discourse-sidekiq/run.sh",
"command": [
"/opt/bitnami/scripts/discourse-sidekiq/run.sh"
],
"environment": [
"DISCOURSE_HOST={Hostnames.{StaticServiceName}.{StaticServiceName}.host}",
"DISCOURSE_PASSWORD={Context.DISCOURSE_PASSWORD}",
Expand Down
13 changes: 11 additions & 2 deletions servapps/Nextcloud/cosmos-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
]
},
"minVersion": "0.7.6",
"minVersion": "0.21.0",
"services": {
"{ServiceName}": {
"image": "nextcloud",
Expand Down Expand Up @@ -134,7 +134,16 @@
"networks": {
"{ServiceName}-databases": {}
},
"command": "mariadbd --innodb-buffer-pool-size=512M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120",
"command": [
"mariadbd",
"--innodb-buffer-pool-size=512M",
"--transaction-isolation=READ-COMMITTED",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--max-connections=512",
"--innodb-rollback-on-timeout=OFF",
"--innodb-lock-wait-timeout=120"
],
"volumes": [
{
"source": "{ServiceName}-mariadb-data",
Expand Down
13 changes: 11 additions & 2 deletions servapps/Photoprism/cosmos-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
]
},
"minVersion": "0.7.6",
"minVersion": "0.21.0",
"services": {
"{ServiceName}": {
"image": "photoprism/photoprism",
Expand Down Expand Up @@ -107,7 +107,16 @@
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
},
"command": "mariadbd --innodb-buffer-pool-size=512M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120",
"command": [
"mariadbd",
"--innodb-buffer-pool-size=512M",
"--transaction-isolation=READ-COMMITTED",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--max-connections=512",
"--innodb-rollback-on-timeout=OFF",
"--innodb-lock-wait-timeout=120"
],
"volumes": [
{
"source": "{ServiceName}-mariadb-data",
Expand Down
72 changes: 42 additions & 30 deletions servapps/SearXNG/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,7 @@
{
"cosmos-installer": null,
"minVersion": "0.21.0",
"services": {
"{ServiceName}-redis": {
"container_name": "{ServiceName}-redis",
"hostname": "{ServiceName}-redis",
"image": "redis:alpine",
"command": "redis-server --save \"\" --appendonly no",
"networks": {
"{ServiceName}-net": {}
},
"tmpfs": [
{
"source": "{ServiceName}-redistemp",
"target": "/var/lib/redis",
"type": "volume"
}
],
"cap_drop": [
"ALL"
],
"cap_add": [
"SETGID",
"SETUID",
"DAC_OVERRIDE"
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
}
},
"{ServiceName}": {
"container_name": "{ServiceName}",
"image": "searxng/searxng:latest",
Expand All @@ -42,6 +13,11 @@
"source": "{ServiceName}-data",
"target": "/etc/searxng",
"type": "volume"
},
{
"source": "{ServiceName}-cache",
"target": "/var/cache/searxng",
"type": "volume"
}
],
"routes": [
Expand Down Expand Up @@ -81,6 +57,42 @@
"max-file": "1"
}
}
},
"{ServiceName}-redis": {
"container_name": "{ServiceName}-redis",
"hostname": "{ServiceName}-redis",
"image": "redis:alpine",
"command": [
"redis-server",
"--save",
"\"\"",
"--appendonly",
"no"
],
"networks": {
"{ServiceName}-net": {}
},
"tmpfs": [
{
"source": "{ServiceName}-redistemp",
"target": "/var/lib/redis",
"type": "volume"
}
],
"cap_drop": [
"ALL"
],
"cap_add": [
"SETGID",
"SETUID",
"DAC_OVERRIDE"
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
}
}
},
"networks": {
Expand Down
10 changes: 8 additions & 2 deletions servapps/Trip/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cosmos-installer": {},
"minVersion": "0.13.0",
"minVersion": "0.21.0",
"services": {
"{ServiceName}": {
"image": "ghcr.io/itskovacs/trip:1",
Expand Down Expand Up @@ -33,7 +33,13 @@
}
}
],
"command": "fastapi run /app/trip/main.py --host 0.0.0.0"
"command": [
"fastapi",
"run",
"/app/trip/main.py",
"--host",
"0.0.0.0"
]
}
}
}
6 changes: 4 additions & 2 deletions servapps/ntfy/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"cosmos-installer": {},
"minVersion": "0.7.6",
"minVersion": "0.21.0",
"services": {
"{ServiceName}": {
"image": "binwiederhier/ntfy",
"container_name": "{ServiceName}",
"command": "serve",
"command": [
"serve"
],
"restart": "unless-stopped",
"environment": [
"TZ=auto",
Expand Down