Open asliwinski opened 6 years ago
Hi @asliwinski. Did you try to set a volume to Docker socket?
https://hub.docker.com/r/jwilder/nginx-proxy/
$ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
In the app you can set volumes here
Hi @igor-lemon, here's the relevant section of my docker-compose.yml:
nginx-proxy:
container_name: nginx-proxy
image: jwilder/nginx-proxy
ports:
- "443:443"
networks:
app_net:
ipv4_address: 172.16.111.111
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf:ro
- ./nginx/certificates:/etc/certificates:ro
So the volumes are defined and this configuration is reflected in Dockstation in the tab you showed on your screenshot. As I said, this is a known bug and setting the environmental variable to convert the path solves the problem, however the environmental variable somehow doesn't affect Dockstation, as if it was an isolated environment.
I cannot select and copy the logs (which is another issue), so I'm pasting a screenshot:
This is a known issue and setting environmental variable COMPOSE_CONVERT_WINDOWS_PATHS=1 solves the problem when running the container directly, however it doesn't work in dockstation.
The image: https://hub.docker.com/r/jwilder/nginx-proxy/