improvements to docker setup

This commit is contained in:
Nuwan 2022-07-05 18:32:40 +05:30
parent 920fa8672a
commit e449da582f
3 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ ARG AWS_SECRET
ARG POSTGRES_USER
ARG POSTGRES_PASSWORD
ARG POSTGRES_DB
ARG INIT_BUILD
ARG INIT_BUILD=0
ARG LOCAL_DEV
#ARG GEM_PATH

View File

@ -1,5 +1,5 @@
#FROM postgres:9.4
FROM postgres:12
#COPY db/setup.sh /docker-entrypoint-initdb.d/
#COPY db/init.sh /docker-entrypoint-initdb.d/
EXPOSE 5432
CMD ["postgres"]

View File

@ -11,6 +11,7 @@ services:
ports:
- "5432:5432"
env_file: .env
user: postgres
restart: unless-stopped
networks:
- jamkazam-network