fix: update dockerfile

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2023-12-10 22:47:24 +08:00
parent 4315164e11
commit 593c9bc55e
2 changed files with 3 additions and 7 deletions

View File

@@ -6,3 +6,4 @@ ALLOWED_ORIGINS=innei.ren,www.innei.ren
# must be 64bit
ENCRYPT_KEY=593f62860255feb0a914534a43814b9809cc7534da7f5485cd2e3d3c8609acab
ENCRYPT_ENABLE=false
CBOR_NATIVE_ACCELERATION_DISABLED=true

View File

@@ -12,6 +12,7 @@ services:
- JWT_SECRET
- ENCRYPT_KEY
- ENCRYPT_ENABLE
- CBOR_NATIVE_ACCELERATION_DISABLED
volumes:
- ./data/mx-space:/root/.mx-space
ports:
@@ -26,13 +27,7 @@ services:
- app-network
restart: always
healthcheck:
test:
[
'CMD',
'curl',
'-f',
'http://127.0.0.1:2333/api/v2/ping'
]
test: ['CMD', 'curl', '-f', 'http://127.0.0.1:2333/api/v2/ping']
interval: 1m30s
timeout: 30s
retries: 5