You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
kasm_install/docker/docker-compose-api.yaml

53 lines
1.3 KiB

version: '3'
services:
kasm_api:
container_name: kasm_api
user: "${KASM_UID?}:${KASM_GID?}"
image: "kasmweb/api:1.7.0"
networks:
- kasm_default_network
volumes:
- /opt/kasm/1.7.0:/opt/kasm/current
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "20"
proxy:
container_name: kasm_proxy
image: "nginx:alpine"
ports:
- "127.0.0.1:443:443"
networks:
- kasm_default_network
volumes:
- /opt/kasm/1.7.0/conf/nginx:/etc/nginx/conf.d:ro
- /opt/kasm/1.7.0/certs/kasm_nginx.key:/etc/ssl/private/kasm_nginx.key
- /opt/kasm/1.7.0/certs/kasm_nginx.crt:/etc/ssl/certs/kasm_nginx.crt
- /opt/kasm/1.7.0/www:/srv/www:ro
depends_on:
- kasm_api
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "20"
kasm_share:
container_name: kasm_share
user: root
image: "kasmweb/share:1.7.0"
networks:
- kasm_default_network
volumes:
- /opt/kasm/1.7.0:/opt/kasm/current
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "20"
networks:
kasm_default_network:
external: true