Skip to content

Commit c96c316

Browse files
committed
update to be defang postgres ready
1 parent cb90ac7 commit c96c316

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/django-postgres/compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ services:
22
db:
33
restart: unless-stopped
44
image: postgres:16
5+
x-defang-postgres: true
56
environment:
67
- POSTGRES_DB=django
78
- POSTGRES_USER=django
89
- POSTGRES_PASSWORD
910
ports:
1011
- mode: host
1112
target: 5432
13+
published: 5432
1214

1315
django:
16+
# uncomment to add your own domain
17+
# domainname: example.com
1418
restart: unless-stopped
1519
build: ./app
1620
ports:

0 commit comments

Comments
 (0)