Commit 9901a559 by Chalermpong

Update docker-compose.yml

parent 6f8ab3ba
...@@ -24,7 +24,7 @@ services: ...@@ -24,7 +24,7 @@ services:
- POSTGRES_USER=${POSTGRES_USER:-user} # Set environment variable POSTGRES_USER with default value 'user' - POSTGRES_USER=${POSTGRES_USER:-user} # Set environment variable POSTGRES_USER with default value 'user'
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password} # Set environment variable POSTGRES_PASSWORD with default value 'password' (not recommended for security reasons) - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password} # Set environment variable POSTGRES_PASSWORD with default value 'password' (not recommended for security reasons)
volumes: volumes:
- postgres:/data/postgres # Mount named volume 'postgres' to /data/postgres in container - postgres:/var/lib/postgresql/data # Mount named volume 'postgres' to /data/postgres in container
ports: ports:
- "5432:5432" # Map host port 5432 to container port 5432 - "5432:5432" # Map host port 5432 to container port 5432
networks: networks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment