47 lines
996 B
Django/Jinja
47 lines
996 B
Django/Jinja
services:
|
|
ggr:
|
|
image: "{{ ggr_image }}"
|
|
container_name: ggr
|
|
restart: unless-stopped
|
|
ports:
|
|
- "{{ ggr_gateway_port }}:4444"
|
|
volumes:
|
|
- "./quota:/etc/grid-router/quota:ro"
|
|
command:
|
|
- "-listen"
|
|
- ":4444"
|
|
- "-quotaDir"
|
|
- "/etc/grid-router/quota"
|
|
- "-guests-allowed"
|
|
|
|
ggr-ui:
|
|
image: "{{ ggr_ui_image }}"
|
|
container_name: ggr-ui
|
|
restart: unless-stopped
|
|
ports:
|
|
- "{{ ggr_ui_public_port }}:8888"
|
|
volumes:
|
|
- "./quota:/etc/grid-router/quota:ro"
|
|
command:
|
|
- "-listen"
|
|
- ":8888"
|
|
- "-quota-dir"
|
|
- "/etc/grid-router/quota"
|
|
|
|
nginx:
|
|
image: "{{ nginx_image }}"
|
|
container_name: grid-nginx
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- ggr
|
|
- ggr-ui
|
|
ports:
|
|
- "{{ ggr_nginx_public_port }}:80"
|
|
volumes:
|
|
- "./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro"
|
|
|
|
networks:
|
|
default:
|
|
name: "{{ selenoid_container_network }}"
|
|
external: true
|