2024-10-10 17:58:15 +08:00
|
|
|
services:
|
|
|
|
nocobase:
|
2024-10-24 11:10:56 +08:00
|
|
|
image: nocobase/nocobase:1.3.36-beta
|
2024-10-10 17:58:15 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
|
|
environment:
|
|
|
|
- APP_KEY=${APP_KEY}
|
|
|
|
- DB_DIALECT=${PANEL_DB_TYPE}
|
|
|
|
- DB_HOST=${PANEL_DB_HOST}
|
|
|
|
- DB_DATABASE=${PANEL_DB_NAME}
|
|
|
|
- DB_USER=${PANEL_DB_USER}
|
|
|
|
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
|
|
|
- DB_UNDERSCORED=true
|
|
|
|
- TZ=${TIME_ZONE}
|
|
|
|
volumes:
|
|
|
|
- ./data:/app/nocobase/storage
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|