generated from solgenomics/breedbase_site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (39 loc) · 933 Bytes
/
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
version: "3.7"
services:
breedbase:
environment:
PGHOST: bb_db
PGDATABASE: breedbase
PGPASSWORD: postgres
PGUSER: postgres
image: breedbase/breedbase:latest
depends_on:
- bb_db
container_name: bb_web
ports:
- 8099:8080
volumes:
- webdata:/home/production/volume
- type: bind
source: empty_db_without.test_users.sql
target: /home/production/empty_dump.sql
- type: bind
source: sgn_local.conf
target: /home/production/cxgn/sgn/sgn_local.conf
- type: bind
source: db_dumps
target: /db_dumps
- type: bind
source: crontab
target: /etc/crontab
- type: bind
source: bash_history
target: /root/.bash_history
bb_db:
image: breedbase/pg:latest
container_name: bb_db
volumes:
- dbdata:/var/lib/postgresql/data
volumes:
webdata:
dbdata: