Commit bd2fe672 authored by Conor Anderson's avatar Conor Anderson

Add sticky frontend for conjuntool

parent a928d424
......@@ -8,6 +8,8 @@ services:
volumes:
- ./shiny/local_settings.R:/srv/shiny-server/app/local_settings.R:ro
- ./shiny/shiny-server.conf:/etc/shiny-server/shiny-server.conf:ro
expose:
- 80
plumber:
build: ./plumber
......@@ -22,3 +24,17 @@ services:
- plumber:8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
haproxy:
image: eeacms/haproxy
depends_on:
- conjuntool
environment:
FRONTEND_PORT: "80"
BACKENDS: "conjuntool"
BACKENDS_PORT: "3838"
DNS_ENABLED: "true"
LOG_LEVEL: "info"
COOKIES_ENABLED: "true"
expose:
- 80
......@@ -3,7 +3,7 @@ run_as shiny;
server {
listen 3838;
location /conjuntool/ {
location / {
site_dir /srv/shiny-server/app/;
log_dir /var/log/shiny-server;
directory_index off;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment