Skip to content

Instantly share code, notes, and snippets.

@s2marine
Created September 9, 2022 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2marine/7d38569317fa6818d290622e90a62ed7 to your computer and use it in GitHub Desktop.
Save s2marine/7d38569317fa6818d290622e90a62ed7 to your computer and use it in GitHub Desktop.
linkding LD_CONTEXT_PATH demo
services:
linkding:
image: sissbruecker/linkding
container_name: linkding
ports:
- 9090:9090
environment:
- "LD_CONTEXT_PATH=linkding/"
restart: unless-stopped
nginx:
image: nginx:alpine
container_name: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
restart: unless-stopped
events {
worker_connections 1024;
}
http {
server {
listen 80;
location /linkding/ {
proxy_pass http://linkding:9090;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment