mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
chore: require config.toml for deployment, update docs (#139)
- docker-compose.yml now defaults to ./config.toml instead of conf/app.docker.toml, enforcing explicit configuration for production deployments (dev environment still uses conf/ directly) - Update DEPLOYMENT.md and docs with clear instructions to copy config template before starting - Update config-toml.md: add registry/cni fields, remove obsolete [brave] section (search providers are now managed via web UI), fix default values - Add China mainland mirror documentation
This commit is contained in:
+3
-3
@@ -43,7 +43,7 @@ services:
|
||||
container_name: memoh-migrate
|
||||
entrypoint: ["/app/memoh-server", "migrate", "up"]
|
||||
volumes:
|
||||
- ${MEMOH_CONFIG:-./conf/app.docker.toml}:/app/config.toml:ro
|
||||
- ${MEMOH_CONFIG:-./config.toml}:/app/config.toml:ro
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
privileged: true
|
||||
pid: host
|
||||
volumes:
|
||||
- ${MEMOH_CONFIG:-./conf/app.docker.toml}:/app/config.toml:ro
|
||||
- ${MEMOH_CONFIG:-./config.toml}:/app/config.toml:ro
|
||||
- containerd_data:/var/lib/containerd
|
||||
- server_cni_state:/var/lib/cni
|
||||
- memoh_data:/opt/memoh/data
|
||||
@@ -77,7 +77,7 @@ services:
|
||||
image: memohai/agent:latest
|
||||
container_name: memoh-agent
|
||||
volumes:
|
||||
- ${MEMOH_CONFIG:-./conf/app.docker.toml}:/config.toml:ro
|
||||
- ${MEMOH_CONFIG:-./config.toml}:/config.toml:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "8081:8081"
|
||||
|
||||
Reference in New Issue
Block a user