Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No local mounts #188

Merged

Conversation

ChristianKniep
Copy link

Addresses the issue raised in #187 as a deployment to a remote docker host (or SWARM) does not mount local bind-mounts.

- netbox-static-files:/opt/netbox/netbox/static
nginx:
image: nginx:1.11.1-alpine
links:
- netbox
container_name: nginx
command: nginx -g 'daemon off;' -c /etc/netbox-nginx/nginx.conf
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the netbox exposes the nginx.conf in a distinct directory (not overwriting the default /etc/nginx/), the command has to be adjusted.

@mdlayher mdlayher added the status: accepted This issue has been accepted for implementation label Jul 4, 2016
@koep
Copy link
Contributor

koep commented Jul 5, 2016

LGTM!

@jeremystretch jeremystretch merged commit 75789fc into netbox-community:develop Jul 5, 2016
@jeremystretch jeremystretch removed the status: accepted This issue has been accepted for implementation label Jul 5, 2016
if-fi pushed a commit to if-fi/netbox that referenced this pull request Oct 1, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants