-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
executable file
·58 lines (53 loc) · 1.07 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
53
54
55
56
57
58
version: '3'
services:
bible-ui:
image: rkeplin/bible-angularjs-ui:latest
restart: always
ports:
- 8082:80
environment:
- URL=${URL}
- API_URL=${API_URL}
networks:
- net1
go-api:
build: .
ports:
- 8084:3000
volumes:
- .:/go/src/github.com/rkeplin/bible-go-api
environment:
- ES_URL=${ES_URL}
- DB_NAME=${DB_NAME}
- DB_HOST=${DB_HOST}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
depends_on:
- bible-db
- bible-es
networks:
- net1
bible-db:
image: rkeplin/bible-mariadb:latest
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASS}
- MYSQL_USER=${DB_USER}
- MYSQL_PASSWORD=${DB_PASS}
- MYSQL_DATABASE=${DB_NAME}
volumes:
- bible-db:/var/lib/mysql
networks:
- net1
bible-es:
image: rkeplin/bible-es:v2
restart: always
environment:
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
networks:
- net1
volumes:
bible-db:
networks:
net1: