Remove extra postgres Dockerfile

This commit is contained in:
Konstantinos Sideris 2017-12-26 12:18:23 +02:00
parent 5291e341c4
commit dadd85ba07
2 changed files with 3 additions and 4 deletions

View file

@ -172,8 +172,10 @@ services:
postgres:
container_name: dendrite_postgres
hostname: postgres
build: ./docker/postgres
image: postgres:9.5
restart: always
volumes:
- ./docker/postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh
environment:
POSTGRES_PASSWORD: itsasecret
POSTGRES_USER: dendrite

View file

@ -1,3 +0,0 @@
FROM postgres:9.5
COPY ./create_db.sh /docker-entrypoint-initdb.d/20-create_db.sh