mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
48 lines
No EOL
819 B
YAML
48 lines
No EOL
819 B
YAML
version: '3'
|
|
volumes:
|
|
postgres_data: {}
|
|
elastic_data: {}
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/app/Dockerfile
|
|
environment:
|
|
- MIX_ENV=dev
|
|
working_dir: /srv/philomena
|
|
tty: true
|
|
volumes:
|
|
- .:/srv/philomena
|
|
depends_on:
|
|
- postgres
|
|
- elasticsearch
|
|
- redis
|
|
|
|
postgres:
|
|
image: postgres:12.1
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
elasticsearch:
|
|
image: elasticsearch:6.8.5
|
|
volumes:
|
|
- elastic_data:/var/lib/elasticsearch
|
|
ulimits:
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
|
|
redis:
|
|
image: redis:5.0.7
|
|
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/web/Dockerfile
|
|
volumes:
|
|
- .:/srv/philomena
|
|
depends_on:
|
|
- app
|
|
ports:
|
|
- '8080:80' |