-
Notifications
You must be signed in to change notification settings - Fork 186
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 #3690 from wkloucek/fix-deployment-examples
fix deployment examples
- Loading branch information
Showing
40 changed files
with
542 additions
and
591 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- name: continuous-deployment-ocis-s3-latest | ||
- name: continuous-deployment-ocis-hello-latest | ||
server: | ||
server_type: cx21 | ||
image: ubuntu-20.04 | ||
|
@@ -14,7 +14,7 @@ | |
- /var/lib/docker/volumes/ocis_certs | ||
|
||
domains: | ||
- "*.ocis-s3.latest.owncloud.works" | ||
- "*.ocis-hello.latest.owncloud.works" | ||
|
||
vars: | ||
ssh_authorized_keys: | ||
|
@@ -29,21 +29,21 @@ | |
- name: ocis | ||
git_url: https://github.com/owncloud/ocis.git | ||
ref: master | ||
docker_compose_path: deployments/examples/ocis_s3 | ||
docker_compose_path: deployments/examples/ocis_hello | ||
env: | ||
INSECURE: "false" | ||
TRAEFIK_ACME_MAIL: [email protected] | ||
OCIS_DOCKER_TAG: latest | ||
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works | ||
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works | ||
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works | ||
DEMO_USERS: "true" | ||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml | ||
- name: monitoring | ||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git | ||
ref: master | ||
env: | ||
NETWORK_NAME: ocis-net | ||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works | ||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works | ||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443 | ||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container | ||
OCIS_URL: ocis.ocis-s3.latest.owncloud.works | ||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest | ||
OCIS_URL: ocis.ocis-hello.latest.owncloud.works | ||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- name: continuous-deployment-ocis-hello-latest | ||
- name: continuous-deployment-ocis-s3-latest | ||
server: | ||
server_type: cx21 | ||
image: ubuntu-20.04 | ||
|
@@ -14,7 +14,7 @@ | |
- /var/lib/docker/volumes/ocis_certs | ||
|
||
domains: | ||
- "*.ocis-hello.latest.owncloud.works" | ||
- "*.ocis-s3.latest.owncloud.works" | ||
|
||
vars: | ||
ssh_authorized_keys: | ||
|
@@ -29,20 +29,22 @@ | |
- name: ocis | ||
git_url: https://github.com/owncloud/ocis.git | ||
ref: master | ||
docker_compose_path: deployments/examples/ocis_hello | ||
docker_compose_path: deployments/examples/ocis_s3 | ||
env: | ||
INSECURE: "false" | ||
TRAEFIK_ACME_MAIL: [email protected] | ||
OCIS_DOCKER_TAG: latest | ||
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works | ||
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works | ||
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works | ||
DEMO_USERS: "true" | ||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml | ||
- name: monitoring | ||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git | ||
ref: master | ||
env: | ||
NETWORK_NAME: ocis-net | ||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works | ||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works | ||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443 | ||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container | ||
OCIS_URL: ocis.ocis-hello.latest.owncloud.works | ||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest | ||
OCIS_URL: ocis.ocis-s3.latest.owncloud.works | ||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest |
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 |
---|---|---|
|
@@ -35,6 +35,7 @@ | |
TRAEFIK_ACME_MAIL: [email protected] | ||
OCIS_DOCKER_TAG: latest | ||
OCIS_DOMAIN: ocis.ocis-traefik.latest.owncloud.works | ||
DEMO_USERS: "true" | ||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml | ||
- name: monitoring | ||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git | ||
|
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 |
---|---|---|
|
@@ -35,6 +35,7 @@ | |
TRAEFIK_ACME_MAIL: [email protected] | ||
OCIS_DOCKER_TAG: 1 | ||
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works | ||
DEMO_USERS: "true" | ||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml | ||
- name: monitoring | ||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git | ||
|
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
28 changes: 0 additions & 28 deletions
28
deployments/examples/ocis_hello/config/ocis/entrypoint-override.sh
This file was deleted.
Oops, something went wrong.
198 changes: 147 additions & 51 deletions
198
deployments/examples/ocis_hello/config/ocis/proxy.yaml
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 |
---|---|---|
@@ -1,55 +1,151 @@ | ||
--- | ||
policy_selector: | ||
static: | ||
policy: ocis | ||
|
||
policies: | ||
- name: ocis | ||
routes: | ||
- endpoint: "/" | ||
backend: http://localhost:9100 | ||
- endpoint: "/.well-known/" | ||
backend: http://localhost:9130 | ||
- endpoint: "/konnect/" | ||
backend: http://localhost:9130 | ||
- endpoint: "/signin/" | ||
backend: http://localhost:9130 | ||
- type: regex | ||
endpoint: "/ocs/v[12].php/cloud/(users?|groups)" | ||
backend: http://localhost:9110 | ||
- endpoint: "/ocs/" | ||
backend: http://localhost:9140 | ||
- type: query | ||
endpoint: "/remote.php/?preview=1" | ||
backend: http://localhost:9115 | ||
- endpoint: "/remote.php/" | ||
backend: http://localhost:9140 | ||
- endpoint: "/dav/" | ||
backend: http://localhost:9140 | ||
- endpoint: "/webdav/" | ||
backend: http://localhost:9140 | ||
- endpoint: "/status.php" | ||
backend: http://localhost:9140 | ||
- endpoint: "/index.php/" | ||
backend: http://localhost:9140 | ||
- endpoint: "/data" | ||
backend: http://localhost:9140 | ||
- endpoint: "/app/" | ||
backend: http://localhost:9140 | ||
- endpoint: "/archiver" | ||
backend: http://localhost:9140 | ||
- endpoint: "/graph/" | ||
backend: http://localhost:9120 | ||
- endpoint: "/graph-explorer/" | ||
backend: http://localhost:9135 | ||
- endpoint: "/api/v0/accounts" | ||
backend: http://localhost:9181 | ||
- endpoint: "/accounts.js" | ||
backend: http://localhost:9181 | ||
- endpoint: "/api/v0/settings" | ||
backend: http://localhost:9190 | ||
- endpoint: "/settings.js" | ||
backend: http://localhost:9190 | ||
- endpoint: "/api/v0/greet" | ||
backend: http://ocis-hello:9105 | ||
- endpoint: "/hello.js" | ||
backend: http://ocis-hello:9105 | ||
- name: ocis | ||
routes: | ||
# defaults, taken from https://owncloud.dev/extensions/proxy/configuration/ | ||
- type: "" | ||
method: "" | ||
endpoint: / | ||
backend: http://localhost:9100 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /.well-known/ | ||
backend: http://localhost:9130 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /konnect/ | ||
backend: http://localhost:9130 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /signin/ | ||
backend: http://localhost:9130 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /archiver | ||
backend: http://localhost:9140 | ||
service: "" | ||
apache_vhost: false | ||
- type: regex | ||
method: "" | ||
endpoint: /ocs/v[12].php/cloud/(users?|groups) | ||
backend: http://localhost:9110 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /ocs/ | ||
backend: http://localhost:9140 | ||
service: "" | ||
apache_vhost: false | ||
- type: query | ||
method: "" | ||
endpoint: /remote.php/?preview=1 | ||
backend: http://localhost:9115 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: REPORT | ||
endpoint: /remote.php/dav/ | ||
backend: http://localhost:9115 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /remote.php/ | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /dav/ | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /webdav/ | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /status.php | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /index.php/ | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /apps/ | ||
backend: "" | ||
service: ocdav | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /data | ||
backend: http://localhost:9140 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /app/ | ||
backend: http://localhost:9140 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /graph/ | ||
backend: http://localhost:9120 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /graph-explorer | ||
backend: http://localhost:9135 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /api/v0/accounts | ||
backend: http://localhost:9181 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /accounts.js | ||
backend: http://localhost:9181 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /api/v0/settings | ||
backend: http://localhost:9190 | ||
service: "" | ||
apache_vhost: false | ||
- type: "" | ||
method: "" | ||
endpoint: /settings.js | ||
backend: http://localhost:9190 | ||
service: "" | ||
apache_vhost: false | ||
# oCIS Hello specific routes | ||
- endpoint: "/api/v0/greet" | ||
backend: http://ocis-hello:9105 | ||
- endpoint: "/hello.js" | ||
backend: http://ocis-hello:9105 |
Oops, something went wrong.