flora is a fast and secure runtime that lets you write discord bots for your servers, with a rich TypeScript SDK, without worrying about running infrastructure. [mirror]
1services:
2 build-service:
3 build:
4 context: .
5 dockerfile: apps/build-service/Dockerfile
6 image: flora-build-service:latest
7 ports:
8 - '3001:3001'
9 environment:
10 BUILD_SERVICE_SECRET: ${BUILD_SERVICE_SECRET?set BUILD_SERVICE_SECRET}
11 BUILD_SERVICE_HOST: 0.0.0.0
12 BUILD_SERVICE_PORT: 3001
13 BUILD_SERVICE_DISABLE_MINIFY: 'true'
14 BUILD_SERVICE_WORKSPACE_DIR: /app/build-workspace
15 volumes:
16 - build_service_workspace:/app/build-workspace
17 networks:
18 - flora
19 healthcheck:
20 test: [
21 'CMD',
22 'node',
23 '-e',
24 "fetch('http://localhost:3001/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
25 ]
26 interval: 30s
27 timeout: 5s
28 retries: 5
29 restart: unless-stopped
30
31volumes:
32 build_service_workspace:
33
34networks:
35 flora:
36 name: flora