Skip to content

Commit 388e29e

Browse files
author
Ruben Lopez M
authored
Merge pull request #204 from developmentseed/fix_tiler_env
Fixing docker-compose.yaml and replication job container
2 parents df40794 + e8f5337 commit 388e29e

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ services:
8181
echo Sleep the replication-job for a while!;
8282
sleep 40;
8383
echo Creating the replication-job!;
84-
./start.sh"
84+
/start.sh"
8585
env_file:
8686
- ./.env
8787
######################################################
@@ -168,6 +168,8 @@ services:
168168
build:
169169
context: ./images/tiler-server
170170
dockerfile: Dockerfile
171+
env_file:
172+
- ./.env-tiler
171173
volumes:
172174
- ./tiler-server-data:/mnt/data
173175
depends_on:

images/osm-processor/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
2525
default-jre \
2626
default-jdk \
2727
gradle \
28-
apt-utils
28+
apt-utils \
29+
postgresql-client
2930

3031
# Install osmosis 0.47
3132
RUN git clone https://github.com/openstreetmap/osmosis.git

images/populate-apidb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM developmentseed/osmseed-osm-processor:latest
1+
FROM developmentseed/osmseed-osm-processor:0.1.0-n497.h0368039
22
WORKDIR /mnt/data
33
COPY ./start.sh .
44
CMD ./start.sh

images/replication-job/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
FROM developmentseed/osmseed-osm-processor:ohm-7dd7b8a
2-
2+
COPY ./start.sh /
33
WORKDIR /mnt/data
4-
# VOLUME ["/mnt/data"]
5-
COPY ./start.sh .
6-
CMD ./start.sh
4+
CMD /start.sh

0 commit comments

Comments
 (0)