2024-08-20 19:04:38 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
2024-08-21 15:54:16 +08:00
|
|
|
dujiaoka:
|
2024-11-19 11:58:46 +08:00
|
|
|
image: qyg2297248353/dujiaoka:v2.0.9
|
2024-08-20 19:04:38 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
2024-08-21 15:54:16 +08:00
|
|
|
tty: true
|
2024-08-20 19:04:38 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
2024-08-21 15:54:16 +08:00
|
|
|
- ${PANEL_APP_PORT_API}:9000
|
2024-08-20 19:04:38 +08:00
|
|
|
env_file:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-08-20 19:04:38 +08:00
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
2024-08-21 17:20:19 +08:00
|
|
|
- ${DUJIAOKA_ROOT_PATH}/app:/app
|
2024-08-21 15:54:16 +08:00
|
|
|
environment:
|
|
|
|
- WEB_DOCUMENT_ROOT=/app/public
|
|
|
|
- DUJIAO_ADMIN_LANGUAGE=zh_CN
|
|
|
|
- BROADCAST_DRIVER=log
|
|
|
|
- SESSION_DRIVER=file
|
|
|
|
- SESSION_LIFETIME=120
|
|
|
|
- LOG_CHANNEL=stack
|
|
|
|
- APP_DEBUG=false
|
|
|
|
- APP_ENV=local
|
|
|
|
- DB_CONNECTION=mysql
|