forked from codingstrand/basesite
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (39 loc) · 895 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (39 loc) · 895 Bytes
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
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: 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: /home/production/.bash_history
bb_db:
image: postgres:12.7
shm_size: '2gb'
container_name: bb_db
environment:
POSTGRES_PASSWORD: postgres
volumes:
- dbdata:/var/lib/postgresql/data
volumes:
webdata:
dbdata: