2023-02-07 15:21:24 +08:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
halo:
|
|
|
|
image: halohub/halo:2.2.0
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
- 1panel-network
|
2023-02-07 15:21:24 +08:00
|
|
|
volumes:
|
2023-03-11 12:27:32 +08:00
|
|
|
- ./data:/root/.halo2
|
2023-02-07 15:21:24 +08:00
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8090
|
|
|
|
command:
|
2023-03-06 14:16:03 +08:00
|
|
|
- --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME}
|
2023-02-07 15:21:24 +08:00
|
|
|
- --spring.r2dbc.username=${PANEL_DB_USER}
|
|
|
|
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
|
2023-03-06 14:16:03 +08:00
|
|
|
- --spring.sql.init.platform=${HALO_PLATFORM}
|
2023-02-22 18:41:45 +08:00
|
|
|
- --halo.external-url=${HALO_EXTERNAL_URL}
|
2023-02-07 15:21:24 +08:00
|
|
|
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
|
|
|
|
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
1panel-network:
|
2023-02-07 15:21:24 +08:00
|
|
|
external: true
|