-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (51 loc) · 1.33 KB
/
docker-compose.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
48
49
50
51
52
53
54
55
services:
postgres:
image: postgres:14
restart: unless-stopped
environment:
POSTGRES_DB: bytebase
POSTGRES_USER: bytebase
POSTGRES_PASSWORD: bytebase
volumes:
- postgres:/var/lib/postgresql/data
ports:
- 5432:5432
bytebase:
image: bytebase/bytebase:2.4.0
restart: unless-stopped
depends_on:
- postgres
environment:
PG_URL: postgresql://bytebase:bytebase@postgres:5432/bytebase
command: --external-url https://bytebase.test.localhost:8443 --port 8080
bytebase-unauth:
build: .
restart: unless-stopped
depends_on:
- postgres
- bytebase
environment:
BYTEBASE_UNAUTH_PG_URL: postgresql://bytebase:bytebase@postgres:5432/bytebase
BYTEBASE_UNAUTH_LISTEN_ADDRESS: :8080
BYTEBASE_UNAUTH_CREATOR_ID: "101"
BYTEBASE_UNAUTH_GROUP_PREFIX: "bytebase/"
working_dir: $PWD
volumes:
- $PWD:$PWD
gateway:
image: ghcr.io/telkomindonesia/caddy:2.6.4-1
restart: unless-stopped
environment:
CADDY_SECURITY_CLIENT_ID:
CADDY_SECURITY_CLIENT_SECRET:
CADDY_SECURITY_BASE_AUTH_URL:
CADDY_SECURITY_METADATA:
ports:
- 8443:8443
- 8444:8444
volumes:
- ./Caddyfile:/etc/Caddyfile
entrypoint: caddy
command: run --watch --config /etc/Caddyfile
volumes:
postgres: