Openstatus
www.openstatus.dev
1services:
2 internal-server:
3 build:
4 context: .
5 dockerfile: apps/workflows/Dockerfile
6 environment:
7 - DATABASE_URL=http://libsql:8080
8 - DATABASE_AUTH_TOKEN="basic:token"
9 - RESEND_API_KEY=test
10 - UPSTASH_REDIS_REST_URL=test
11 - UPSTASH_REDIS_REST_TOKEN=test
12 - NODE_ENV=production
13 - GCP_PROJECT_ID=test
14 extra_hosts:
15 - "host.docker.internal:host-gateway"
16
17 ports:
18 - 3000:3000
19 volumes:
20 - type: bind
21 source: ./data
22 target: /app/data
23 image: workflows-test
24 command: .
25 libsql:
26 image: ghcr.io/tursodatabase/libsql-server:latest
27 ports:
28 - 8080:8080
29 - 5001:5001
30 api:
31 build:
32 context: .
33 dockerfile: apps/server/Dockerfile
34 ports:
35 - 3001:3000
36 image: server
37 environment:
38 - DATABASE_URL=http://libsql-1:8080
39 - DATABASE_AUTH_TOKEN="basic:token"
40 - UPSTASH_REDIS_REST_URL=test
41 - UPSTASH_REDIS_REST_TOKEN=test
42 - NODE_ENV=production
43 - NEXT_PUBLIC_OPENPANEL_CLIENT_ID=test
44 - OPENPANEL_CLIENT_SECRET=test
45 - RESEND_API_KEY=test
46 command: .
47 # dashboard:
48 # build:
49 # context: .
50 # dockerfile: apps/dashboard/Dockerfile
51 # ports:
52 # - 3002:3000
53 # image: dashboard
54 # environment:
55 # - API_URL=http://host.docker.internal:3001
56 # - NEXT_PUBLIC_OPENPANEL_CLIENT_ID=test
57 # - OPENPANEL_CLIENT_SECRET=test
58 # - NODE_ENV=production
59 # command: .