Commit ee52882a by chalermpong

env

parent ee6899b4
POSTGRES_ENDPOINT = 175.41.163.94
POSTGRES_USER = user
POSTGRES_PASSWORD = password
POSTGRES_DB = postgres
POSTGRES_PORT = 5432
PGADMIN_DEFAULT_EMAIL = user@user
PGADMIN_DEFAULT_PASSWORD = password
PGADMIN_PORT = 8888
SALT_USER = saltuser1
SALT_PASSWORD = password
\ No newline at end of file
...@@ -11,8 +11,8 @@ services: ...@@ -11,8 +11,8 @@ services:
- "4506:4506" - "4506:4506"
- "8000:8000" - "8000:8000"
environment: environment:
- SALT_USER=saltuser - SALT_USER=${SALT_USER:-saltuser}
- SALT_PASSWORD=saltpassword - SALT_PASSWORD=${SALT_PASSWORD:-saltpassword}
volumes: volumes:
- ./salt-master:/etc/salt/master.d - ./salt-master:/etc/salt/master.d
...@@ -25,8 +25,8 @@ services: ...@@ -25,8 +25,8 @@ services:
- 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:/data/postgres # 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:
- postgres # Connect container to the 'postgres' network - postgres # Connect container to the 'postgres' network
......
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