File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed
Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 11services :
22 huginn :
3+ extends :
4+ file : compose.yaml
5+ service : huginn-app
36 environment :
47 - DATABASE_ADAPTER=postgresql
58 - DATABASE_NAME=huginn
69 - DATABASE_USERNAME=huginn
710 - DATABASE_PASSWORD=huginn
8- - DATABASE_HOST=postgres
9- depends_on :
10- - postgres
11- postgres :
12- image : postgres:14
11+ - DATABASE_HOST=db
12+ db :
13+ extends :
14+ file : compose.yaml
15+ service : db
1316 environment :
1417 POSTGRES_USER : huginn
1518 POSTGRES_PASSWORD : huginn
@@ -18,4 +21,4 @@ services:
1821 - postgres:/var/lib/postgresql/data
1922
2023volumes :
21- postgres:
24+ postgres :
Original file line number Diff line number Diff line change 11services :
2- huginn-app :
2+ huginn :
33 image : ghcr.io/huginn/huginn
44 restart : unless-stopped
55 ports :
@@ -20,17 +20,17 @@ services:
2020 - DATABASE_ADAPTER=postgresql
2121 - DATABASE_NAME=huginn
2222 - DATABASE_USERNAME=huginn
23- - DATABASE_PASSWORD=${POSTGRES_PASSWORD}
24- - DATABASE_HOST=postgresx
25- postgresx :
26- image : postgres:14
23+ - DATABASE_HOST=db
24+ - DATABASE_PASSWORD="${POSTGRES_PASSWORD}"
25+ depends_on :
26+ - db
27+ db :
28+ image : postgres:16
2729 environment :
2830 - POSTGRES_USER=huginn
29- - POSTGRES_PASSWORD
3031 - POSTGRES_DB=huginn
32+ - POSTGRES_PASSWORD
3133 ports :
3234 - mode : host
3335 target : 5432
3436 published : 5432
35- networks :
36- - public
You can’t perform that action at this time.
0 commit comments