Skip to content

Commit ba631bd

Browse files
committed
chore: add restart policy and modify readme.md
1 parent 17441f5 commit ba631bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dockerfiles/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Prerequisite
44
1. Create a .env file.
55
- Add the following content to your `.env` file.
6-
```json
6+
```env
77
POSTGRES_USER="postgres"
88
POSTGRES_PASSWORD="postgres"
99
POSTGRES_DB="core_indexer"

dockerfiles/docker-compose-informative.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
POSTGRES_USER: ${POSTGRES_USER}
77
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
88
POSTGRES_DB: ${POSTGRES_DB}
9+
restart: always
910
ports:
1011
- "5432:5432"
1112
volumes:

0 commit comments

Comments
 (0)