mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
27 lines
773 B
YAML
27 lines
773 B
YAML
|
version: "3"
|
||
|
services:
|
||
|
halo:
|
||
|
image: halohub/halo:2.2.0
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel
|
||
|
volumes:
|
||
|
- ./data:/root/.halo
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:8090
|
||
|
command:
|
||
|
- --spring.r2dbc.url=r2dbc:pool:mysql://${PANEL_DB_HOST}:3306/${PANEL_DB_NAME}
|
||
|
- --spring.r2dbc.username=${PANEL_DB_USER}
|
||
|
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
|
||
|
- --spring.sql.init.platform=mysql
|
||
|
- --halo.external-url=http://localhost:${PANEL_APP_PORT_HTTP}/
|
||
|
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
|
||
|
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
|
||
|
networks:
|
||
|
1panel:
|
||
|
external: true
|