mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
40 lines
786 B
YAML
40 lines
786 B
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
container_name: mobilizon_db
|
|
restart: unless-stopped
|
|
image: mdillon/postgis:10
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: mobilizon_dev
|
|
|
|
front:
|
|
container_name: mobilizon_front
|
|
restart: unless-stopped
|
|
build: ./js
|
|
volumes:
|
|
- './js:/app/js'
|
|
ports:
|
|
- "8888:8080"
|
|
entrypoint: entrypoint
|
|
|
|
api:
|
|
container_name: mobilizon_api
|
|
restart: unless-stopped
|
|
build: .
|
|
volumes:
|
|
- '.:/app'
|
|
ports:
|
|
- "4000:4000"
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
MIX_ENV: dev
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DATABASE: mobilizon_dev
|
|
POSTGRES_HOST: postgres
|
|
PORT: 4000
|
|
entrypoint: entrypoint
|