add openblocks

This commit is contained in:
Andras Bacsai
2023-10-26 09:34:02 +02:00
parent 21795cf788
commit 4cfc739730
2 changed files with 41 additions and 12 deletions

View File

@@ -7,21 +7,13 @@ services:
image: openblocksdev/openblocks-ce
environment:
- SERVICE_FQDN_OPENBLOCKS
- REDIS_ENABLED=true
- MONGODB_ENABLED=true
- API_SERVICE_ENABLED=true
- NODE_SERVICE_ENABLED=true
- PUID=1000
- PGID=1000
- MONGODB_URI=mongodb://localhost:27017/openblocks?authSource=admin
- REDIS_URL=redis://localhost:6379
- JS_EXECUTOR_URI=http://localhost:6060
- ENABLE_USER_SIGN_UP=${ENABLE_USER_SIGN_UP:-true}
- ENCRYPTION_PASSWORD=$SERVICE_
- ENCRYPTION_PASSWORD=$SERVICE_PASSWORD_ENCRYPTION
- ENCRYPTION_SALT=$SERVICE_PASSWORD_SALT
volumes:
- openblocks-data:/openblocks-stacks
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 5s
timeout: 5s
timeout: 20s
retries: 10