-
Notifications
You must be signed in to change notification settings - Fork 9
/
quickstart.yml
47 lines (42 loc) · 1.07 KB
/
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
46
47
version: "3.9"
services:
serverservice:
image: ghcr.io/metal-toolbox/hollow-serverservice:v0.16.0
depends_on:
- crdb
- serverservice-migrate
environment:
- SERVERSERVICE_OIDC_ENABLED=false
- SERVERSERVICE_CRDB_URI=postgresql://root@crdb:26257/defaultdb?sslmode=disable
- SERVERSERVICE_DB_ENCRYPTION_DRIVER=base64key://smGbjm71Nxd1Ig5FS0wj9SlbzAIrnolCz9bQQ6uAhl4=
ports:
- "8000:8000"
restart: unless-stopped
networks:
- hollow
serverservice-migrate:
image: ghcr.io/metal-toolbox/hollow-serverservice:v0.16.0
command:
migrate up
depends_on:
- crdb
environment:
- SERVERSERVICE_CRDB_URI=postgresql://root@crdb:26257/defaultdb?sslmode=disable
restart: on-failure
networks:
- hollow
crdb:
image: cockroachdb/cockroach:latest-v21.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: