加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
# This describes a self-contained demo of RAIS, using nginx to serve up the
# static pages. This isn't a production configuration file!!
#
# If you don't set up an override file (docker-compose.override-example.yml,
# for instance), this will just use the stable version of RAIS from dockerhub.
#
# Put JP2s into docker/images and the apache entrypoint script will add them to
# the images served by from RAIS.
version: "3.4"
services:
rais:
image: uolibraries/rais
environment:
- URL
- RAIS_ADDRESS
- RAIS_LOGLEVEL
- RAIS_TILEPATH
- RAIS_IIIFWEBPATH
- RAIS_IIIFBASEURL
- RAIS_INFOCACHELEN
- RAIS_TILECACHELEN
- RAIS_IMAGEMAXAREA
- RAIS_IMAGEMAXWIDTH
- RAIS_IMAGEMAXHEIGHT
- RAIS_PLUGINS=*
- RAIS_JPGQUALITY
- RAIS_ALLOW_INSECURE_PLUGINS=0
volumes:
- ./docker/images:/var/local/images:ro
- ./rais-example.toml:/etc/rais-template.toml:ro
- ./cap-max.toml:/etc/rais-capabilities.toml:ro
- ./docker/demo-rais-entry.sh:/entrypoint.sh:ro
entrypoint: /entrypoint.sh
web:
image: nginx:1.15
volumes:
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./docker/images:/var/local/images:ro
- ./docker/static:/static:ro
- ./docker/demo-web-entry.sh:/entrypoint.sh:ro
entrypoint: /entrypoint.sh
depends_on:
- rais
ports:
- 80:80
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化