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]
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at trunk 86 lines 2.0 kB view raw
1services: 2 postgres: 3 image: postgres:15 4 environment: 5 POSTGRES_DB: flora 6 POSTGRES_USER: flora 7 POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-flora} 8 volumes: 9 - postgres_data:/var/lib/postgresql/data 10 networks: 11 - flora 12 healthcheck: 13 test: ['CMD-SHELL', 'pg_isready -U flora'] 14 interval: 10s 15 timeout: 5s 16 retries: 5 17 restart: unless-stopped 18 19 valkey: 20 image: valkey/valkey:latest 21 volumes: 22 - valkey_data:/data 23 networks: 24 - flora 25 healthcheck: 26 test: ['CMD', 'valkey-cli', 'ping'] 27 interval: 10s 28 timeout: 5s 29 retries: 5 30 restart: unless-stopped 31 32 runtime: 33 image: ghcr.io/uwu/flora:0.1.0@sha256:52cd83ede99c825321ce8c2aa84a27023519a1d6951c388289bebd2fc2a52d8f 34 ports: 35 - '3000:3000' 36 volumes: 37 - ./config.docker.toml:/home/flora/config.toml:ro 38 depends_on: 39 postgres: 40 condition: service_healthy 41 valkey: 42 condition: service_healthy 43 build-service: 44 condition: service_healthy 45 networks: 46 - flora 47 restart: unless-stopped 48 49 build-service: 50 build: 51 context: . 52 dockerfile: apps/build-service/Dockerfile 53 image: flora-build-service:latest 54 ports: 55 - '3001:3001' 56 environment: 57 BUILD_SERVICE_SECRET: ${BUILD_SERVICE_SECRET?set BUILD_SERVICE_SECRET} 58 BUILD_SERVICE_HOST: 0.0.0.0 59 BUILD_SERVICE_PORT: 3001 60 BUILD_SERVICE_DISABLE_MINIFY: 'true' 61 BUILD_SERVICE_WORKSPACE_DIR: /app/build-workspace 62 volumes: 63 - build_service_workspace:/app/build-workspace 64 networks: 65 - flora 66 healthcheck: 67 test: 68 [ 69 'CMD', 70 'node', 71 '-e', 72 "fetch('http://localhost:3001/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))" 73 ] 74 interval: 30s 75 timeout: 5s 76 retries: 5 77 restart: unless-stopped 78 79volumes: 80 postgres_data: 81 valkey_data: 82 build_service_workspace: 83 84networks: 85 flora: 86 name: flora