-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from vimc/mrc-4255
mrc-4255 add packit to deployment
- Loading branch information
Showing
13 changed files
with
335 additions
and
34 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
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
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
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
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,148 @@ | ||
## Prefix for container names; we'll use {container_prefix}-(container_name) | ||
container_prefix: orderly-web | ||
|
||
## The name of the docker network that containers will be attached to. | ||
## If you want to proxy OrderlyWeb to the host, you will need to | ||
## arrange a proxy on this network, or use dev_mode in the web section | ||
## below. | ||
network: orderly_web_network | ||
|
||
## Names of the docker volumes to use: | ||
## | ||
## orderly: stores the orderly archive | ||
## proxy_logs: stores logs from the reverse proxy (only used if proxy is given) | ||
## documents: stores static documentation available through the web app | ||
## | ||
## (More volumes are anticipated as the tool develops) | ||
volumes: | ||
orderly: orderly_web_volume | ||
proxy_logs: orderly_web_proxy_logs | ||
documents: orderly_web_documents | ||
redis: orderly_web_redis_data | ||
outpack: orderly_web_outpack | ||
|
||
## Redis configuration | ||
redis: | ||
image: | ||
name: redis | ||
tag: "5.0" | ||
volume: orderly_web_redis_data | ||
|
||
|
||
## Orderly configuration | ||
orderly: | ||
## Image to use for orderly. This should build off of | ||
## vimc/orderly.server but can be extended to use whatever packages | ||
## you need. The components repo, image and tag will be assembled as | ||
## <repo>/<name>:<tag> for the full docker image reference. | ||
image: | ||
repo: vimc | ||
name: orderly.server | ||
tag: master | ||
worker_name: orderly.server | ||
## Initial data source for the orderly reports. This section is | ||
## optional - if not present, it is up to you to initialise the | ||
## orderly volume (in the volumes section above) with appropriate | ||
## data (if data is not present, orderly will not start). This | ||
## section only has an effect if the volume is empty. | ||
initial: | ||
## Source must be one of "clone" or "demo" | ||
source: clone | ||
## If source is "clone", then "url" must be given. If using a | ||
## private repo, then use an ssh url and provide ssh keys in the | ||
## "ssh" section. | ||
url: https://github.com/reside-ic/orderly-example | ||
## Number of workers to create to run orderly jobs | ||
workers: 1 | ||
expose: true | ||
env: | ||
ORDERLY_API_SERVER_IDENTITY: production | ||
|
||
## Api and Website configuration | ||
web: | ||
## Image to use for the web components. As for the orderly | ||
## configuration these will be assembled as <repo>/<name>:<tag>. In | ||
## addition, a second image with the database migration support will | ||
## be used as <repo>/<migrate>:<tag>. It is not expected (unlike | ||
## the orderly image) that the 'name' and 'migrate' will need to be | ||
## changed often, and it is expected that a web image will go | ||
## together with corresponding migration and admin images. | ||
image: | ||
repo: vimc | ||
name: orderly-web | ||
tag: master | ||
migrate: orderlyweb-migrate | ||
admin: orderly-web-user-cli | ||
## Public-facing url for the whole web service, including protocol | ||
## (ideally https://), hostname and port (if not using standard | ||
## ports). Here, we're going to use the same as for the proxy but | ||
## if you are using an external proxy then you'd use its hostname | ||
## and port. | ||
url: https://localhost | ||
## If dev_mode is true then the port is exposed to the host (as | ||
## plain http). Do not use in production. The port is attached | ||
## only to the localhost and will not be available from other | ||
## machines | ||
dev_mode: true | ||
## Port to use for the web service | ||
port: 8888 | ||
## Name of the web service (affects the UI) | ||
name: OrderlyWeb | ||
## Email address of the web service | ||
email: [email protected] | ||
## Authentication configuration | ||
auth: | ||
## Name of the github organisation if using github auth | ||
github_org: vimc | ||
## Name of the team within this github organisation if using | ||
## github auth (cuurrently must be "" - VIMC | ||
github_team: "" | ||
## If using github auth you will need to register a github oauth app | ||
## https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/ | ||
## The "Authorization callback URL" must be set to the public facing url | ||
## that you configured above | ||
github_oauth: | ||
id: "notarealid" | ||
secret: "notarealsecret" | ||
## Enable or disable fine grained permissions | ||
fine_grained: true | ||
## Enable montagu authentication provider | ||
montagu: false | ||
|
||
# Optional: to notify a Slack channel during deployment, provide a webhook url | ||
slack: | ||
webhook_url: https://hooks.slack.com/services/T000/B000/XXXX | ||
|
||
## If running a proxy directly, fill this section in. Otherwise you | ||
## are responsible for proxying the application out of the docker | ||
## network | ||
proxy: | ||
enabled: true | ||
hostname: localhost | ||
port_http: 80 | ||
port_https: 443 | ||
image: | ||
repo: vimc | ||
name: orderly-web-proxy | ||
tag: master | ||
|
||
outpack: | ||
repo: mrcide | ||
server: | ||
name: outpack_server | ||
tag: main | ||
migrate: | ||
name: outpack.orderly | ||
tag: main | ||
|
||
packit: | ||
repo: mrcide | ||
api: | ||
name: packit-api | ||
tag: master | ||
app: | ||
name: packit | ||
tag: mrc-4261 | ||
db: | ||
name: packit-db | ||
tag: main |
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 |
---|---|---|
|
@@ -119,4 +119,4 @@ proxy: | |
image: | ||
repo: vimc | ||
name: orderly-web-proxy | ||
tag: mrc-211 | ||
tag: master |
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
Oops, something went wrong.