Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
1# Docker-compose file to launch services during the development.
2version: '2'
3
4volumes:
5 db-data:
6 driver: local
7
8services:
9
10 app:
11 build:
12 context: .
13 dockerfile: ./compose/app/Dockerfile-dev
14 container_name: upvcarshare-app
15 command: /start-dev.sh
16 env_file: .env
17 volumes:
18 - .:/app
19 ports:
20 - "8888:8888"
21
22 db:
23 build: compose/postgis/.
24 image: upvcarshare/postgis
25 container_name: upvcarshare-db
26 volumes:
27 - db-data:/var/lib/postgresql
28 ports:
29 - "5432:5432"
30 environment:
31 POSTGRES_PASSWORD: potato
32 POSTGRES_DB: upvcarshare