Update env file example to contain Volume mount point for DB folder
This commit is contained in:
parent
561b2aed27
commit
66f4eea77d
@ -9,6 +9,9 @@ DJANGO_STATIC_VOL=/path/to/static/root
|
|||||||
# Path to the media root. Must be served by a webserver on the media URL
|
# Path to the media root. Must be served by a webserver on the media URL
|
||||||
DJANGO_MEDIA_VOL=/path/to/media/root
|
DJANGO_MEDIA_VOL=/path/to/media/root
|
||||||
|
|
||||||
|
# folder for DB
|
||||||
|
PGDATA_VOL=/path/to/pgdata
|
||||||
|
|
||||||
# Port to serve the App
|
# Port to serve the App
|
||||||
PORT=8000
|
PORT=8000
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: "${DJANGO_POSTGRESQL_PW:-p4ssw0rd}"
|
POSTGRES_PASSWORD: "${DJANGO_POSTGRESQL_PW:-p4ssw0rd}"
|
||||||
POSTGRES_DB: "shimatta_kenkyusho"
|
POSTGRES_DB: "shimatta_kenkyusho"
|
||||||
volumes:
|
volumes:
|
||||||
- "${PGDATA:-./run/pgdata}:/var/lib/postgresql/data"
|
- "${PGDATA_VOL:-./run/pgdata}:/var/lib/postgresql/data"
|
||||||
networks:
|
networks:
|
||||||
- backendnet
|
- backendnet
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
Loading…
Reference in New Issue
Block a user