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-agent.yaml

42 lines
1.1 KiB

version: '3'
services:
kasm_agent:
container_name: kasm_agent
user: root
image: "kasmweb/agent:1.7.0"
networks:
- kasm_default_network
volumes:
- /opt/kasm/1.7.0:/opt/kasm/current
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
- /opt/kasm/1.7.0/conf/nginx:/etc/nginx/conf.d
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
restart: always
depends_on:
- kasm_agent
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "20"
networks:
kasm_default_network:
external: true