Writing the CommandStack container

Inside the command_db directory, we'll define the Dockerfile for the CommandStack container. The Dockerfile has environment variables, and the initial file responsible for creating the databases. Look at the following file content:

FROM postgres 
 
ENV POSTGRES_USER=postgres 
ENV POSTGRES_PASSWORD=postgres 
 
# run create.sql on init 
ADD create.sql /docker-entrypoint-initdb.d 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.163.207