2024-07-22 18:47:14 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
linkding:
|
2024-08-31 03:43:45 +08:00
|
|
|
image: sissbruecker/linkding:1.31.1-plus
|
2024-07-22 18:47:14 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2024-07-25 22:04:48 +08:00
|
|
|
ulimits:
|
|
|
|
nproc: 65535
|
|
|
|
nofile:
|
|
|
|
soft: 20000
|
|
|
|
hard: 40000
|
2024-07-22 18:47:14 +08:00
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:9090
|
2024-07-29 13:14:45 +08:00
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
2024-07-22 18:47:14 +08:00
|
|
|
volumes:
|
|
|
|
- ${LINKDING_ROOT_PATH}/data:/etc/linkding/data
|
|
|
|
environment:
|
|
|
|
- LD_SERVER_PORT=9090
|
|
|
|
- LD_DB_ENGINE=postgres
|
|
|
|
- HTTP_PROXY=${ALL_PROXY}
|
|
|
|
- HTTPS_PROXY=${ALL_PROXY}
|