I don’t quite understand how I would manage to do this. My /shared folder only contains the folder standalone.
The nginx part of my docker compose file looks like this:
nginx:
image: sickp/alpine-nginx:1.13.0-r1
container_name: nginx
ports:
- "443:443"
- "80:80"
networks:
- plexnet
environment:
- PUID=1000
- PGID=1000
volumes:
- ${CONFIG_FOLDER}/nginx/nginx.conf:/etc/nginx/nginx.conf
- ${CONFIG_FOLDER}/nginx/www:/etc/nginx/www
# Configs
- ${CONFIG_FOLDER}/nginx/confs:/etc/nginx/confs:ro
# SSL
- ${CONFIG_FOLDER}/nginx/dhparam.pem:/etc/nginx/dhparam.pem:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
# Discourse websocket
- /var/discourse/:/var/discourse/
With this /var/discourse/ becomes fully accessible in my nginx container through /var/discourse/shared/standalone/nginx.http.sock. Isn’t this what you mean?