updated 'plane.yaml' to use APP_RELEASE environment variable
This commit is contained in:
		| @@ -5,6 +5,7 @@ | |||||||
|  |  | ||||||
| x-app-env: &app-env | x-app-env: &app-env | ||||||
|   environment: |   environment: | ||||||
|  |     - APP_RELEASE=${APP_RELEASE:-v0.24.1} | ||||||
|     - WEB_URL=${SERVICE_FQDN_PLANE} |     - WEB_URL=${SERVICE_FQDN_PLANE} | ||||||
|     - DEBUG=${DEBUG:-0} |     - DEBUG=${DEBUG:-0} | ||||||
|     - CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGIN:-http://localhost} |     - CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGIN:-http://localhost} | ||||||
| @@ -54,7 +55,7 @@ services: | |||||||
|       - SERVICE_FQDN_PLANE |       - SERVICE_FQDN_PLANE | ||||||
|       - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880} |       - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880} | ||||||
|       - BUCKET_NAME=${BUCKET_NAME:-uploads} |       - BUCKET_NAME=${BUCKET_NAME:-uploads} | ||||||
|     image: makeplane/plane-proxy:stable |     image: makeplane/plane-proxy:${APP_RELEASE:-v0.24.1} | ||||||
|     depends_on: |     depends_on: | ||||||
|       - web |       - web | ||||||
|       - api |       - api | ||||||
| @@ -66,8 +67,7 @@ services: | |||||||
|       retries: 15 |       retries: 15 | ||||||
|  |  | ||||||
|   web: |   web: | ||||||
|     <<: *app-env |     image: makeplane/plane-frontend:${APP_RELEASE:-v0.24.1} | ||||||
|     image: makeplane/plane-frontend:stable |  | ||||||
|     command: node web/server.js web |     command: node web/server.js web | ||||||
|     depends_on: |     depends_on: | ||||||
|       - api |       - api | ||||||
| @@ -78,8 +78,7 @@ services: | |||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 15 |       retries: 15 | ||||||
|   space: |   space: | ||||||
|     <<: *app-env |     image: makeplane/plane-space:${APP_RELEASE:-v0.24.1} | ||||||
|     image: makeplane/plane-space:stable |  | ||||||
|     command: node space/server.js space |     command: node space/server.js space | ||||||
|     depends_on: |     depends_on: | ||||||
|       - api |       - api | ||||||
| @@ -92,8 +91,7 @@ services: | |||||||
|       retries: 15 |       retries: 15 | ||||||
|  |  | ||||||
|   admin: |   admin: | ||||||
|     <<: *app-env |     image: makeplane/plane-admin:${APP_RELEASE:-v0.24.1} | ||||||
|     image: makeplane/plane-admin:stable |  | ||||||
|     command: node admin/server.js admin |     command: node admin/server.js admin | ||||||
|     depends_on: |     depends_on: | ||||||
|       - api |       - api | ||||||
| @@ -106,7 +104,7 @@ services: | |||||||
|  |  | ||||||
|   live: |   live: | ||||||
|     <<: *app-env |     <<: *app-env | ||||||
|     image: makeplane/plane-live:stable |     image: makeplane/plane-live:${APP_RELEASE:-v0.24.1} | ||||||
|     command: node live/dist/server.js live |     command: node live/dist/server.js live | ||||||
|     depends_on: |     depends_on: | ||||||
|       - api |       - api | ||||||
| @@ -119,7 +117,7 @@ services: | |||||||
|  |  | ||||||
|   api: |   api: | ||||||
|     <<: *app-env |     <<: *app-env | ||||||
|     image: makeplane/plane-backend:stable |     image: makeplane/plane-backend:${APP_RELEASE:-v0.24.1} | ||||||
|     command: ./bin/docker-entrypoint-api.sh |     command: ./bin/docker-entrypoint-api.sh | ||||||
|     volumes: |     volumes: | ||||||
|       - logs_api:/code/plane/logs |       - logs_api:/code/plane/logs | ||||||
| @@ -134,7 +132,7 @@ services: | |||||||
|  |  | ||||||
|   worker: |   worker: | ||||||
|     <<: *app-env |     <<: *app-env | ||||||
|     image: makeplane/plane-backend:stable |     image: makeplane/plane-backend:${APP_RELEASE:-v0.24.1} | ||||||
|     command: ./bin/docker-entrypoint-worker.sh |     command: ./bin/docker-entrypoint-worker.sh | ||||||
|     volumes: |     volumes: | ||||||
|       - logs_worker:/code/plane/logs |       - logs_worker:/code/plane/logs | ||||||
| @@ -150,7 +148,7 @@ services: | |||||||
|  |  | ||||||
|   beat-worker: |   beat-worker: | ||||||
|     <<: *app-env |     <<: *app-env | ||||||
|     image: makeplane/plane-backend:stable |     image: makeplane/plane-backend:${APP_RELEASE:-v0.24.1} | ||||||
|     command: ./bin/docker-entrypoint-beat.sh |     command: ./bin/docker-entrypoint-beat.sh | ||||||
|     volumes: |     volumes: | ||||||
|       - logs_beat-worker:/code/plane/logs |       - logs_beat-worker:/code/plane/logs | ||||||
| @@ -166,7 +164,7 @@ services: | |||||||
|  |  | ||||||
|   migrator: |   migrator: | ||||||
|     <<: *app-env |     <<: *app-env | ||||||
|     image: makeplane/plane-backend:stable |     image: makeplane/plane-backend:${APP_RELEASE:-v0.24.1} | ||||||
|     restart: "no" |     restart: "no" | ||||||
|     command: ./bin/docker-entrypoint-migrator.sh |     command: ./bin/docker-entrypoint-migrator.sh | ||||||
|     volumes: |     volumes: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Manish Gupta
					Manish Gupta