https://github.com/gitana/cloudcms-virtual-server
Cloud CMS Virtual Server (Hosting)
https://github.com/gitana/cloudcms-virtual-server
Last synced: 8 months ago
JSON representation
Cloud CMS Virtual Server (Hosting)
- Host: GitHub
- URL: https://github.com/gitana/cloudcms-virtual-server
- Owner: gitana
- Created: 2013-09-11T21:59:10.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T02:26:24.000Z (about 4 years ago)
- Last Synced: 2025-05-14T11:17:47.560Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://gitana.io
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud CMS Virtual Server
This project provides an empty hosted application for the Cloud CMS Virtual Hosting tier.
By being available, it allows the application server to serve requests for externally hosted applications that seek to use the Cloud CMS Application server APIs, controllers and other features.
## Basic Usage
To launch the app server, you basically need to do the following:
docker run -e "PORT=8080" -p 8080:8080 cloudcms/app-server
This launches the app server on port 8080.
## Static Web Root
If you have a single set of files you'd like to serve, mount in a `public` directory.
docker run --volume /dev/public:/var/app/current/public -p 8080:8080 cloudcms/app-server
## Virtual Hosting
To take advantage of virtual hosting, you will need to have an on-premise Cloud CMS instance.
Provide the following environment variables:
CLOUDCMS_VIRTUAL_HOST_ENABLED=true
CLOUDCMS_VIRTUAL_DRIVER_CLIENT_KEY=
CLOUDCMS_VIRTUAL_DRIVER_CLIENT_SECRET=
CLOUDCMS_VIRTUAL_DRIVER_AUTHGRANT_KEY=
CLOUDCMS_VIRTUAL_DRIVER_AUTHGRANT_SECRET=
These should match the values in your API properties file.
## Notifications
To support SQS notifications, configure the following:
CLOUDCMS_NOTIFICATIONS_ENABLED=true
CLOUDCMS_NOTIFICATIONS_SQS_QUEUE_URL=
CLOUDCMS_NOTIFICATIONS_SQS_ACCESS_KEY=
CLOUDCMS_NOTIFICATIONS_SQS_SECRET_KEY=
CLOUDCMS_NOTIFICATIONS_SQS_REGION=
## Deployment
To support code deployment, configure the following:
CLOUDCMS_NET_GITHUB_USERNAME=
CLOUDCMS_NET_GITHUB_PASSWORD=