FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sourcebot/docker-compose.yml at main · sourcebot-dev/sourcebot · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sourcebot-dev
/
sourcebot
Public
Notifications
You must be signed in to change notification settings
Fork
360
Star
3.9k
Code
Issues
92
Pull requests
13
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
sourcebot
/
docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
68 lines (64 loc) · 1.94 KB
Breadcrumbs
sourcebot
/
docker-compose.yml
Copy path
File metadata and controls
68 lines (64 loc) · 1.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
56
57
58
59
60
61
62
63
64
65
66
67
68
services
:
sourcebot
:
image
:
docker.sourcebot.dev/sourcebot-dev/sourcebot:latest
pull_policy
:
always
user
:
sourcebot
restart
:
always
container_name
:
sourcebot
depends_on
:
postgres
:
condition
:
service_healthy
redis
:
condition
:
service_healthy
ports
:
-
"
3000:3000
"
volumes
:
-
./config.json:/data/config.json
-
sourcebot_data:/data
env_file
:
-
path
:
.env
required
:
false
environment
:
-
CONFIG_PATH=/data/config.json
-
AUTH_URL=${AUTH_URL:-http://localhost:3000}
-
AUTH_SECRET=${AUTH_SECRET:-000000000000000000000000000000000}
#
CHANGEME: generate via `openssl rand -base64 33`
-
SOURCEBOT_ENCRYPTION_KEY=${SOURCEBOT_ENCRYPTION_KEY:-00000000000000000000000000000000}
#
CHANGEME: generate via `openssl rand -base64 24`
-
DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/postgres}
#
CHANGEME
-
REDIS_URL=${REDIS_URL:-redis://redis:6379}
#
CHANGEME
#
For the full list of environment variables see:
#
https://docs.sourcebot.dev/docs/configuration/environment-variables
postgres
:
image
:
docker.io/postgres:${POSTGRES_VERSION:-16}
restart
:
always
healthcheck
:
test
:
["CMD-SHELL", "pg_isready -U postgres"]
interval
:
3s
timeout
:
3s
retries
:
10
environment
:
POSTGRES_USER
:
postgres
POSTGRES_PASSWORD
:
postgres
#
CHANGEME
POSTGRES_DB
:
postgres
ports
:
-
127.0.0.1:5432:5432
volumes
:
-
sourcebot_postgres_data:/var/lib/postgresql/data
redis
:
image
:
docker.io/redis:${REDIS_VERSION:-8}
restart
:
always
ports
:
-
127.0.0.1:6379:6379
healthcheck
:
test
:
["CMD", "redis-cli", "ping"]
interval
:
3s
timeout
:
10s
retries
:
10
volumes
:
-
sourcebot_redis_data:/data
volumes
:
sourcebot_data
:
driver
:
local
sourcebot_postgres_data
:
driver
:
local
sourcebot_redis_data
:
driver
:
local
Back
|
FazBrowse Home
|
New Git URL