appstore-1panel/apps/dujiaoka/2.0.7/docker-compose.yml
萌森 d40e1f82ab 测试应用 独角数卡
Signed-off-by: 萌森 <qyg2297248353@163.com>
2024-08-21 17:20:19 +08:00

35 lines
781 B
YAML

version: "3.8"
networks:
1panel-network:
external: true
services:
dujiaoka:
image: qyg2297248353/dujiaoka:v2.0.7
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
tty: true
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:80
- ${PANEL_APP_PORT_API}:9000
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${DUJIAOKA_ROOT_PATH}/app:/app
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