Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAG:15-3.4-develop-workshop #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions 15-3.4-develop-workshop/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mobilitydb/mobilitydb:15-3.4-develop
ENV MOBILITYDB_VERSION Workshop
RUN apt-get update \
&& apt-get install -y \
wget \
unzip

RUN mkdir /workshopData
RUN cd /workshopData && \
wget https://raw.githubusercontent.com/MobilityDB/MobilityDB-workshop/master/data/gtfs_data.zip && \
wget https://raw.githubusercontent.com/MobilityDB/MobilityDB-workshop/master/data/ais_data.zip && \
unzip ais_data.zip -d ais_data && \
unzip gtfs_data.zip -d gtfs_data && \
rm -f ais_data.zip gtfs_data.zip
RUN chmod a+r /workshopData/*
2 changes: 2 additions & 0 deletions 15-3.4-develop-workshop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MobilityDB-docker (Workshop)
==================================
18 changes: 18 additions & 0 deletions 15-3.4-develop-workshop/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.0'
services:
mobilitydb:
build:
context: .
dockerfile: Dockerfile
volumes:
- mobilitydb-data:/var/lib/postgresql/data
ports:
- 25432:5432
environment:
- POSTGRES_DB=mobilitydb
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
restart: on-failure

volumes:
mobilitydb-data: