-
Notifications
You must be signed in to change notification settings - Fork 1
/
quickstart.yml
45 lines (41 loc) · 1011 Bytes
/
quickstart.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
fleetdb:
image: ghcr.io/metal-toolbox/fleetdb:latest
depends_on:
- crdb
- fleetdb-migrate
environment:
- FLEETDB_OIDC_ENABLED=false
- FLEETDB_CRDB_URI=postgresql://root@crdb:26257/defaultdb?sslmode=disable
- FLEETDB_DB_ENCRYPTION_DRIVER=base64key://smGbjm71Nxd1Ig5FS0wj9SlbzAIrnolCz9bQQ6uAhl4=
ports:
- "8000:8000"
restart: unless-stopped
networks:
- hollow
fleetdb-migrate:
image: ghcr.io/metal-toolbox/fleetdb:latest
command:
migrate up
depends_on:
- crdb
environment:
- FLEETDB_CRDB_URI=postgresql://root@crdb:26257/defaultdb?sslmode=disable
restart: on-failure
networks:
- hollow
crdb:
image: cockroachdb/cockroach:latest-v23.1
volumes:
- db:/cockroach/cockroach-data
command: start-single-node --insecure
ports:
- "8080:8080"
- "26257:26257"
restart: unless-stopped
networks:
- hollow
volumes:
db:
networks:
hollow: