pull/25/head
Etienne Trimaille 2015-12-28 11:48:42 +01:00
rodzic f0ac9317c8
commit 2352363666
2 zmienionych plików z 13 dodań i 3 usunięć

Wyświetl plik

@ -22,6 +22,13 @@ rundev:
@echo "------------------------------------------------------------------"
@docker-compose -p $(PROJECT_ID) up
stop:
@echo
@echo "------------------------------------------------------------------"
@echo "Stopping in production mode"
@echo "------------------------------------------------------------------"
@docker-compose -p $(PROJECT_ID) stop
kill:
@echo
@echo "------------------------------------------------------------------"
@ -41,11 +48,11 @@ ipdb:
@echo "------------------------------------------------------------------"
@echo "Database's IP"
@echo "------------------------------------------------------------------"
@docker inspect $(PROJECT_ID)_db_1 | grep '"IPAddress"' | head -1 | cut -d '"' -f 4
@docker inspect $(PROJECT_ID)_db | grep '"IPAddress"' | head -1 | cut -d '"' -f 4
timestamp:
@echo
@echo "------------------------------------------------------------------"
@echo "Timestamp"
@echo "------------------------------------------------------------------"
@docker exec -t -i $(PROJECT_ID)_imposm_1 cat /home/settings/timestamp.txt
@docker exec -t -i $(PROJECT_ID)_imposm cat /home/settings/timestamp.txt

Wyświetl plik

@ -1,5 +1,6 @@
storage:
image: ubuntu:latest
container_name: dockerosm_storage
hostname: storage
volumes:
# These are sharable to other containers
@ -14,14 +15,15 @@ storage:
db:
# About the postgresql version, it should match in the dockerfile of docker-imposm3
image: kartoza/postgis:9.4-2.1
container_name: dockerosm_db
hostname: db
environment:
- USERNAME=docker
- PASS=docker
imposm:
#image: kartoza/imposm
build: docker-imposm3
container_name: dockerosm_imposm
volumes_from:
- storage
links:
@ -58,6 +60,7 @@ imposm:
osmupdate:
build: docker-osmupdate
container_name: dockerosm_osmupdate
volumes_from:
- storage
environment: