forked from ComPlat/chemotion_ELN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
47 lines (42 loc) · 919 Bytes
/
docker-compose.test.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
version: '2'
services:
# bundle:
# image: busybox
# volumes:
# - /bundle
db_data:
image: busybox
volumes:
- /var/lib/postgresql
postgres:
image: 'postgres:10.10'
environment:
POSTGRES_PASSWORD: 3x4mpl3
sftp:
image: atmoz/sftp
ports:
- "2222:22"
command: sftp_test:sftp_test:::uploads
app:
build: .
image: complat/chemotion_eln
depends_on:
- postgres
command:
["./run.sh", "postgres"]
volumes:
- .:/home/app/chemotion_ELN
# - /home/app/chemotion_ELN/node_modules
volumes_from:
- db_data
ports:
- "3000:3000"
links:
- sftp
environment:
RAILS_ENV: test
DOCKER: 'true'
DATABASE_URL: postgres://postgres:3x4mpl3@postgres:5432/chemotion_test
PGPASSWORD: 3x4mpl3
SECRET_KEY_BASE: my_s3cr3t_k3y
ONLY_OFFICE_SECRET_KEY_BASE: my_s3cr3t_k3y