@@ -4,11 +4,10 @@ volumes:
44 postgres : {}
55
66services :
7-
87 postgres :
9- image : " postgres:16-alpine"
8+ image : ' postgres:16-alpine'
109 healthcheck :
11- test : [" CMD-SHELL", " pg_isready -U ledger" ]
10+ test : [' CMD-SHELL', ' pg_isready -U ledger' ]
1211 interval : 10s
1312 timeout : 5s
1413 retries : 5
@@ -18,62 +17,64 @@ services:
1817 - -c
1918 - log_min_messages=info
2019 environment :
21- POSTGRES_USER : " ledger"
22- POSTGRES_PASSWORD : " ledger"
23- POSTGRES_DB : " ledger"
20+ POSTGRES_USER : ' ledger'
21+ POSTGRES_PASSWORD : ' ledger'
22+ POSTGRES_DB : ' ledger'
2423 PGDATA : /data/postgres
2524 volumes :
2625 - ${POSTGRES_DATA:-postgres}:/data/postgres
2726
2827 worker :
29- image : ghcr.io/formancehq/ledger:v2.3 .0
28+ image : ghcr.io/formancehq/ledger:v2.4 .0
3029 # entrypoint:
3130 depends_on :
3231 postgres :
3332 condition : service_healthy
3433 environment :
35- DEBUG : " ${DEBUG:-false}"
36- POSTGRES_URI : " postgresql://ledger:ledger@postgres/ledger?sslmode=disable"
37- POSTGRES_MAX_OPEN_CONNS : " 40 "
38- POSTGRES_MAX_IDLE_CONNS : " 40 "
39- POSTGRES_CONN_MAX_IDLE_TIME : " 5m "
34+ DEBUG : ' ${DEBUG:-false}'
35+ POSTGRES_URI : ' postgresql://ledger:ledger@postgres/ledger?sslmode=disable'
36+ POSTGRES_MAX_OPEN_CONNS : ' 40 '
37+ POSTGRES_MAX_IDLE_CONNS : ' 40 '
38+ POSTGRES_CONN_MAX_IDLE_TIME : ' 5m '
4039
4140 ledger :
42- image : ghcr.io/formancehq/ledger:v2.3 .0
41+ image : ghcr.io/formancehq/ledger:v2.4 .0
4342 ports :
4443 - 3068:3068
4544 depends_on :
4645 postgres :
4746 condition : service_healthy
4847 environment :
49- DEBUG : " ${DEBUG:-false}"
50- POSTGRES_URI : " postgresql://ledger:ledger@postgres/ledger?sslmode=disable"
51- POSTGRES_MAX_OPEN_CONNS : " 40"
52- POSTGRES_MAX_IDLE_CONNS : " 40"
53- POSTGRES_CONN_MAX_IDLE_TIME : " 5m"
54- EXPERIMENTAL_FEATURES : " true"
55- AUTO_UPGRADE : " true"
56- BULK_PARALLEL : " 10"
57- EXPERIMENTAL_NUMSCRIPT_INTERPRETER : " true"
58- EXPERIMENTAL_NUMSCRIPT_INTERPRETER_FLAGS : " experimental-overdraft-function experimental-get-asset-function experimental-get-amount-function experimental-oneof experimental-account-interpolation experimental-mid-script-function-call experimental-asset-colors"
48+ DEBUG : ' ${DEBUG:-false}'
49+ POSTGRES_URI : ' postgresql://ledger:ledger@postgres/ledger?sslmode=disable'
50+ POSTGRES_MAX_OPEN_CONNS : ' 40'
51+ POSTGRES_MAX_IDLE_CONNS : ' 40'
52+ POSTGRES_CONN_MAX_IDLE_TIME : ' 5m'
53+ EXPERIMENTAL_FEATURES : ' true'
54+ AUTO_UPGRADE : ' true'
55+ BULK_PARALLEL : ' 10'
56+ EXPERIMENTAL_NUMSCRIPT_INTERPRETER : ' true'
57+ EXPERIMENTAL_NUMSCRIPT_INTERPRETER_FLAGS :
58+ ' experimental-overdraft-function experimental-get-asset-function experimental-get-amount-function experimental-oneof experimental-account-interpolation experimental-mid-script-function-call
59+ experimental-asset-colors'
5960
6061 gateway :
6162 image : ghcr.io/formancehq/gateway:v2.0.31
6263 depends_on : [ledger]
6364 ports :
64- - " 8080:8080"
65- - " 8443:8443"
65+ - ' 8080:8080'
66+ - ' 8443:8443'
6667 volumes :
67- - " ./Caddyfile:/etc/caddy/Caddyfile"
68+ - ' ./Caddyfile:/etc/caddy/Caddyfile'
6869
6970 console :
70- image : ghcr.io/formancehq/console-v3:v1.17.0
71+ image : ghcr.io/formancehq/console-v3:v2.2.1
7172 ports :
72- - " 3000:3000"
73+ - ' 3000:3000'
7374 environment :
7475 - PORT=3000
7576 - MICRO_STACK=1
76- - API_URL =http://gateway:8080/api
77+ - API_STACK_URL =http://gateway:8080/api
7778 - COOKIE_SECRET=secret
7879 - COOKIE_DOMAIN=localhost
7980 depends_on :
0 commit comments