Created
September 9, 2022 05:20
-
-
Save s2marine/7d38569317fa6818d290622e90a62ed7 to your computer and use it in GitHub Desktop.
linkding LD_CONTEXT_PATH demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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