mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 05:41:03 +08:00
- update docker-compose.yml to use named volume (linkstack_data) with bind mount to ./data directory - remove complex container export logic from init.sh, replace with simple directory creation (mkdir -p ./data)
25 lines
480 B
YAML
25 lines
480 B
YAML
services:
|
|
linkstack:
|
|
image: linkstackorg/linkstack:latest
|
|
pull_policy: always
|
|
volumes:
|
|
- linkstack_data:/htdocs
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
container_name: ${CONTAINER_NAME}
|
|
networks:
|
|
- 1panel-network
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
1panel-network:
|
|
external: true
|
|
volumes:
|
|
linkstack_data:
|
|
name: ${CONTAINER_NAME}-data
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
device: ./data
|
|
o: bind
|