-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquickstart.yml
46 lines (41 loc) · 986 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
46
version: "3.9"
services:
dns-controller:
image: ghcr.io/metal-toolbox/dns-controller:v0.0.1
depends_on:
- crdb
- dns-controller-migrate
environment:
- DNS_CONTROLLER_OIDC_ENABLED=false
- DNS_CONTROLLER_DB_URI=postgresql://root@crdb:26257/defaultdb?sslmode=disable
ports:
- "8000:8000"
restart: unless-stopped
networks:
- hollow
dns-controller-migrate:
image: ghcr.io/metal-toolbox/dons-controller:v0.0.1
command:
migrate up
depends_on:
- crdb
environment:
- DNS_CONTROLLER_DB_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: