We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fecba4 commit 3f3d21cCopy full SHA for 3f3d21c
docker-compose.yml
@@ -2,13 +2,13 @@ version: '3'
2
3
services:
4
postgres:
5
- image: ece-postgres
+ image: elastest/ece-postgres
6
ports:
7
- 5432:5432
8
environment:
9
- POSTGRES_USER=elastest
10
- POSTGRES_PASSWORD=elastestpassword
11
ece:
12
- image: ece
+ image: elastest/ece
13
14
- 8888:8888
postgres/Dockerfile
@@ -2,4 +2,8 @@ FROM postgres:9.6.4-alpine
EXPOSE 5432:5432
-ADD db_init.sh /docker-entrypoint-initdb.d/init-user-db.sh
+ADD db_init.sh db_init.sh
+
+RUN chmod +x db_init.sh
+CMD ["/bin/ash", "db_init.sh"]
0 commit comments