-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathdocker-compose.yml
52 lines (45 loc) · 1.33 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3'
services:
dev:
image: ruby:2.7.2
links:
- postgres
- redis
- elasticsearch
- plantuml-server
environment:
LDAP_HOST: ${LDAP_HOST:-localhost}
OMNIAUTH_GITLAB_API_PREFIX: ${OMNIAUTH_GITLAB_API_PREFIX:-''}
OMNIAUTH_GITLAB_CLIENT_SECRET: ${OMNIAUTH_GITLAB_CLIENT_SECRET:-''}
OMNIAUTH_GITLAB_CLIENT_ID: ${OMNIAUTH_GITLAB_CLIENT_ID:-''}
OMNIAUTH_GITHUB_CLIENT_SECRET: ${OMNIAUTH_GITHUB_CLIENT_SECRET:-''}
OMNIAUTH_GITHUB_CLIENT_ID: ${OMNIAUTH_GITHUB_CLIENT_ID:-''}
OMNIAUTH_GOOGLE_CLIENT_SECRET: ${OMNIAUTH_GOOGLE_CLIENT_SECRET:-''}
OMNIAUTH_GOOGLE_CLIENT_ID: ${OMNIAUTH_GOOGLE_CLIENT_ID:-''}
command: echo 'dev environment started'
postgres:
image: postgres:9.6.5
ports:
- "${POSTGRES_PORT:-5432}:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_DB: ${POSTGRES_DB_NAME:-bluedoc-dev}
volumes:
- postgres:/usr/local/var/postgres
redis:
image: redis
ports:
- "${REDIS_PORT:-6379}:6379"
elasticsearch:
image: elasticsearch:6.8.1
ports:
- "${ES_PORT:-9200}:9200"
volumes:
- elasticsearch:/usr/share/elasticsearch/data
plantuml-server:
image: plantuml/plantuml-server:jetty
ports:
- "${PLS_PORT:-1608}:8080"
volumes:
postgres:
elasticsearch: