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 1
1
services :
2
2
huginn :
3
+ extends :
4
+ file : compose.yaml
5
+ service : huginn-app
3
6
environment :
4
7
- DATABASE_ADAPTER=postgresql
5
8
- DATABASE_NAME=huginn
6
9
- DATABASE_USERNAME=huginn
7
10
- 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
13
16
environment :
14
17
POSTGRES_USER : huginn
15
18
POSTGRES_PASSWORD : huginn
@@ -18,4 +21,4 @@ services:
18
21
- postgres:/var/lib/postgresql/data
19
22
20
23
volumes :
21
- postgres:
24
+ postgres :
Original file line number Diff line number Diff line change 1
1
services :
2
- huginn-app :
2
+ huginn :
3
3
image : ghcr.io/huginn/huginn
4
4
restart : unless-stopped
5
5
ports :
@@ -20,17 +20,17 @@ services:
20
20
- DATABASE_ADAPTER=postgresql
21
21
- DATABASE_NAME=huginn
22
22
- 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
27
29
environment :
28
30
- POSTGRES_USER=huginn
29
- - POSTGRES_PASSWORD
30
31
- POSTGRES_DB=huginn
32
+ - POSTGRES_PASSWORD
31
33
ports :
32
34
- mode : host
33
35
target : 5432
34
36
published : 5432
35
- networks :
36
- - public
You can’t perform that action at this time.
0 commit comments