mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 06:28:47 +08:00
26 lines
639 B
YAML
26 lines
639 B
YAML
|
version: "3.8"
|
||
|
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
halo:
|
||
|
image: halohub/halo:2.17.2
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
volumes:
|
||
|
- ${HALO_ROOT_PATH}/data:/root/.halo2
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:8090
|
||
|
command:
|
||
|
- --spring.r2dbc.url=r2dbc:pool:${DB_TYPE}://${DB_HOSTNAME}:${DB_PORT}/${DB_NAME}
|
||
|
- --spring.r2dbc.username=${DB_USER}
|
||
|
- --spring.r2dbc.password=${DB_USER_PASSWORD}
|
||
|
- --spring.sql.init.platform=${DB_TYPE}
|
||
|
- --halo.external-url=${HALO_EXTERNAL_URL}
|