2018-07-25 14:42:04 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
postgres:
|
2018-10-11 15:37:39 +00:00
|
|
|
container_name: mobilizon_db
|
2018-07-25 14:42:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
image: mdillon/postgis:10
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2018-10-11 15:37:39 +00:00
|
|
|
POSTGRES_DB: mobilizon_dev
|
2018-07-25 14:42:04 +00:00
|
|
|
|
|
|
|
front:
|
2018-10-11 15:37:39 +00:00
|
|
|
container_name: mobilizon_front
|
2018-07-25 14:42:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
build: ./js
|
|
|
|
volumes:
|
|
|
|
- './js:/app/js'
|
|
|
|
ports:
|
2018-12-17 10:24:26 +00:00
|
|
|
- "8888:8080"
|
2018-07-25 14:42:04 +00:00
|
|
|
entrypoint: entrypoint
|
|
|
|
|
|
|
|
api:
|
2018-10-11 15:37:39 +00:00
|
|
|
container_name: mobilizon_api
|
2018-07-25 14:42:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
build: .
|
|
|
|
volumes:
|
|
|
|
- '.:/app'
|
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
environment:
|
2018-12-17 10:24:26 +00:00
|
|
|
MIX_ENV: dev
|
2018-07-25 14:42:04 +00:00
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
2018-10-11 15:37:39 +00:00
|
|
|
POSTGRES_DATABASE: mobilizon_dev
|
2018-07-25 14:42:04 +00:00
|
|
|
POSTGRES_HOST: postgres
|
2018-07-25 15:06:50 +00:00
|
|
|
PORT: 4000
|
2018-07-25 14:42:04 +00:00
|
|
|
entrypoint: entrypoint
|