mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
25 lines
650 B
YAML
25 lines
650 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
lucky:
|
|
image: gdy666/lucky:2.25.2
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
network_mode: ${NETWORK_MODE:-host}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
|
env_file:
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
volumes:
|
|
- ./run/start.sh:/app/conf/start.sh:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${LUCKY_ROOT_PATH}/data:/app/conf
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
entrypoint: [ "/app/conf/start.sh" ]
|