File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1717 - |
1818 cat > .env <<EOF
1919 DATABASE_URL='postgresql://hatchet:hatchet@127.0.0.1:5431/hatchet'
20+ TIMESCALE_URL='postgresql://hatchet:hatchet@localhost:5444/hatchet'
2021 EOF
2122 set-env-all :
2223 cmds :
2526
2627 cat > .env <<EOF
2728 DATABASE_URL='postgresql://hatchet:hatchet@127.0.0.1:5431/hatchet'
29+ TIMESCALE_URL='postgresql://hatchet:hatchet@localhost:5444/hatchet'
2830
2931 SERVER_ENCRYPTION_MASTER_KEYSET_FILE=./hack/dev/encryption-keys/master.key
3032 SERVER_ENCRYPTION_JWT_PRIVATE_KEYSET_FILE=./hack/dev/encryption-keys/private_ec256.key
Original file line number Diff line number Diff line change @@ -31,7 +31,22 @@ services:
3131 timeout : 10s
3232 retries : 5
3333
34+ timescale :
35+ image : timescale/timescaledb-ha:pg15
36+ command : postgres -c 'max_connections=200'
37+ restart : always
38+ environment :
39+ - POSTGRES_USER=hatchet
40+ - POSTGRES_PASSWORD=hatchet
41+ - POSTGRES_DB=hatchet
42+ ports :
43+ - " 5444:5432"
44+ volumes :
45+ - hatchet_timescale_data:/var/lib/postgresql/data
46+ shm_size : 4g
47+
3448volumes :
49+ hatchet_timescale_data :
3550 hatchet_postgres_data :
3651 hatchet_rabbitmq_data :
3752 hatchet_rabbitmq.conf :
You can’t perform that action at this time.
0 commit comments