项目作者: dit4c

项目描述 :
DIT4C image server which uses OpenStack Swift as the storage backend
高级语言: Makefile
项目地址: git://github.com/dit4c/dit4c-imageserver-swift.git
创建时间: 2017-01-18T04:58:26Z
项目社区:https://github.com/dit4c/dit4c-imageserver-swift

开源协议:MIT License

下载


dit4c-imageserver-swift

A DIT4C image server using OpenStack Swift as the backend.

nginx proxies all requests to OpenStack Swift object storage, using a token which is regularly updated and templated into the nginx config using confd. s6 keeps confd and nginx running.

Running

  1. $ rkt trust --root http://dit4c.github.io/release-signing-key.asc
  2. $ rkt --dns=8.8.8.8 run \
  3. --volume tls,kind=host,source=/etc/tls,readOnly=true \
  4. https://github.com/dit4c/dit4c-imageserver-swift/releases/download/0.1.1/dit4c-imageserver-swift.linux.amd64.aci \
  5. --set-env-file /etc/dit4c-imageserver.env \
  6. --port https:443 \
  7. --mount volume=tls,target=/tls

dit4c-imageserver.env example:

  1. PORTAL_URI=https://dit4c.example
  2. OS_AUTH_URL=https://keystone-server.example:5000/v2.0/
  3. OS_TENANT_NAME=DIT4CBots
  4. OS_USERNAME=DIT4CBots_prod_imageserver
  5. OS_PASSWORD=myopenstackpassword
  6. SWIFT_CONTAINER_URL=https://swift-server:8888/v1/AUTH_38595da52345e183057c53997af6306f/dit4c.example-private-images
  7. TLS_CERT=/tls/server.crt
  8. TLS_KEY=/tls/server.key