web UI - init work on using docker-socket-proxy

This commit is contained in:
bunkerity
2021-06-02 12:12:30 +02:00
parent ee178de6ab
commit 74fb015366
5 changed files with 57 additions and 13 deletions

View File

@@ -12,7 +12,6 @@ services:
# don't forget to edit the permissions of the files and folders accordingly
volumes:
- ./letsencrypt:/etc/letsencrypt
- ./web-files:/www:ro
- autoconf:/etc/nginx
environment:
- SERVER_NAME=admin.website.com # replace with your domain
@@ -36,11 +35,23 @@ services:
myui:
image: bunkerity/bunkerized-nginx-ui
restart: always
depends_on:
- mywww
- myuiproxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- autoconf:/etc/nginx
environment:
- ABSOLUTE_URI=https://admin.website.com/admin/ # change it to your full URI
- DOCKER_HOST=tcp://myuiproxy:2375
myuiproxy:
image: tecnativa/docker-socket-proxy
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- POST=1
- CONTAINERS=1
volumes:
autoconf: