添加:podman-compose和ai部署提示词
This commit is contained in:
37
podman-compose.yml
Normal file
37
podman-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
services:
|
||||
mariadb:
|
||||
image: docker.io/library/mariadb:11
|
||||
container_name: pydio-mariadb
|
||||
restart: unless-stopped
|
||||
pod: cells-pod
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE}
|
||||
MYSQL_USER: ${CELLS_DB_USER}
|
||||
MYSQL_PASSWORD: ${CELLS_DB_PASSWORD}
|
||||
volumes:
|
||||
- ./mariadb_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
cells:
|
||||
image: docker.io/pydio/cells:latest
|
||||
container_name: pydio-cells
|
||||
restart: unless-stopped
|
||||
pod: cells-pod
|
||||
ports:
|
||||
- "${HOST_PORT}:8080"
|
||||
environment:
|
||||
CELLS_SITE_BIND: 0.0.0.0:8080
|
||||
CELLS_SITE_EXTERNAL: ${CELLS_EXTERNAL}
|
||||
CELLS_SITE_LABEL: ${CELLS_SITE_LABEL}
|
||||
volumes:
|
||||
- ./cells_working:/var/cells
|
||||
# 数据目录单独挂载(可选)
|
||||
- ./Storage_data:/var/cells/data
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
Reference in New Issue
Block a user