forked from azukaar/cosmos-servapps-official
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Discourse
Vouu
committed
Nov 9, 2023
1 parent
68e98fd
commit cc66787
Showing
7 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"cosmos-installer": { | ||
"post-install": [{ | ||
"type": "info", | ||
"label": "The SSH port for this container is 222" | ||
}] | ||
}, | ||
"minVersion": "0.8.0", | ||
"{ServiceName}-postgresql": { | ||
"postgresql": { | ||
"image": "docker.io/bitnami/postgresql:16", | ||
"volumes": [{ | ||
"source": "postgresql_data", | ||
"target": "/bitnami/postgresql", | ||
"type": "volume" | ||
}], | ||
"environment": [ | ||
"ALLOW_EMPTY_PASSWORD=yes", | ||
"POSTGRESQL_USERNAME=bn_discourse", | ||
"POSTGRESQL_DATABASE=bitnami_discourse" | ||
], | ||
"container_name": "{ServiceName}-postgresql" | ||
}, | ||
"{ServiceName}-redis": { | ||
"image": "docker.io/bitnami/redis:7.0", | ||
"environment": [ | ||
"ALLOW_EMPTY_PASSWORD=yes" | ||
], | ||
"volumes": [{ | ||
"source": "redis_data", | ||
"target": "/bitnami/redis", | ||
"type": "volume" | ||
}], | ||
"container_name": "{ServiceName}-redis" | ||
}, | ||
"{ServiceName}-discourse": { | ||
"image": "docker.io/bitnami/discourse:3", | ||
"volumes": [{ | ||
"source": "discourse_data", | ||
"target": "/bitnami/discourse", | ||
"type": "volume" | ||
}], | ||
"networks": [ | ||
"{ServiceName}-postgresql", | ||
"{ServiceName}-redis" | ||
], | ||
"environment": [ | ||
"ALLOW_EMPTY_PASSWORD=yes", | ||
"DISCOURSE_HOST={Hostnames.{StaticServiceName}.{StaticServiceName}.host}", | ||
"DISCOURSE_DATABASE_HOST=postgresql", | ||
"DISCOURSE_DATABASE_PORT_NUMBER=5432", | ||
"DISCOURSE_DATABASE_USER=bn_discourse", | ||
"DISCOURSE_DATABASE_NAME=bitnami_discourse", | ||
"DISCOURSE_REDIS_HOST=redis", | ||
"DISCOURSE_REDIS_PORT_NUMBER=6379", | ||
"POSTGRESQL_CLIENT_POSTGRES_USER=postgres", | ||
"POSTGRESQL_CLIENT_CREATE_DATABASE_NAME=bitnami_discourse", | ||
"POSTGRESQL_CLIENT_CREATE_DATABASE_EXTENSIONS=hstore,pg_trgm" | ||
], | ||
"container_name": "{ServiceName}-discourse" | ||
}, | ||
"{ServiceName}-sidekiq": { | ||
"image": "docker.io/bitnami/discourse:3", | ||
"networks": [ | ||
"discourse" | ||
], | ||
"volumes": [{ | ||
"source": "sidekiq_data", | ||
"target": "/bitnami/discourse", | ||
"type": "volume" | ||
}], | ||
"command": "/opt/bitnami/scripts/discourse-sidekiq/run.sh", | ||
"environment": [ | ||
"ALLOW_EMPTY_PASSWORD=yes", | ||
"DISCOURSE_HOST={Hostnames.{StaticServiceName}.{StaticServiceName}.host}", | ||
"DISCOURSE_DATABASE_HOST=postgresql", | ||
"DISCOURSE_DATABASE_PORT_NUMBER=5432", | ||
"DISCOURSE_DATABASE_USER=bn_discourse", | ||
"DISCOURSE_DATABASE_NAME=bitnami_discourse", | ||
"DISCOURSE_REDIS_HOST=redis", | ||
"DISCOURSE_REDIS_PORT_NUMBER=6379" | ||
], | ||
"container_name": "{ServiceName}-sidekiq" | ||
} | ||
}, | ||
"volumes": { | ||
"postgresql_data": { | ||
"driver": "local" | ||
}, | ||
"redis_data": { | ||
"driver": "local" | ||
}, | ||
"discourse_data": { | ||
"driver": "local" | ||
}, | ||
"sidekiq_data": { | ||
"driver": "local" | ||
} | ||
}, | ||
"routes": [{ | ||
"name": "{ServiceName}", | ||
"description": "Expose {ServiceName} to the web", | ||
"useHost": true, | ||
"target": "http://{ServiceName}:3000", | ||
"mode": "SERVAPP", | ||
"Timeout": 14400000, | ||
"ThrottlePerMinute": 12000, | ||
"BlockCommonBots": true, | ||
"SmartShield": { | ||
"Enabled": true | ||
} | ||
}] | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Discourse", | ||
"longDescription": "<p>Discourse is an open source Internet forum system. Features include threading, categorization and tagging of discussions, configurable access control, live updates, expanding link previews, infinite scrolling, and real-time notifications. It is customizable via its plugin architecture and its theming system</p>", | ||
"description": "Discourse is modern forum software for your community. Use it as a mailing list, discussion forum, long-form chat room, and more!", | ||
"tags": ["development", "git", "repository management", "code collaboration", "issue tracking", "go", "self-hosted", "gitea"], | ||
"repository": "https://github.com/bitnami/containers/blob/main/bitnami/discourse", | ||
"image": "https://hub.docker.com/r/bitnami/discourse", | ||
"supported_architectures": ["amd64", "arm64"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.