generated from codingstrand/basesite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (37 loc) · 1.03 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
version: "3.7"
services:
breedbase:
image: breedbase/breedbase:latest
depends_on:
- breedbase_db
container_name: breedbase_web
ports:
- 8080:8080
volumes:
- webdata:/home/production/volume
- type: bind
source: /home/production/basesite/empty_db_without.test_users.sql
target: /home/production/empty_dump.sql
# - type: bind
# source: /home/production/sgn
# target: /home/production/cxgn/sgn
- type: bind
source: /home/production/basesite/sgn_local.conf
target: /home/production/cxgn/sgn/sgn_local.conf
- type: bind
source: /home/production/db_dumps
target: /db_dumps
- type: bind
source: /home/production/basesite/crontab
target: /etc/crontab
- type: bind
source: bash_history
target: /home/production/.bash_history
breedbase_db:
image: breedbase/pg:latest
container_name: breedbase_db
volumes:
- dbdata:/var/lib/postgresql/data
volumes:
webdata:
dbdata: