forked from ComPlat/chemotion_ELN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.p2d.yml
More file actions
52 lines (49 loc) · 1.13 KB
/
Copy pathdocker-compose.p2d.yml
File metadata and controls
52 lines (49 loc) · 1.13 KB
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
services:
db:
image: ptrxyz/chemotion:db-2.0.1
restart: unless-stopped
hostname: db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
networks:
- chemotion
app:
build:
context: .
dockerfile: Dockerfile.p2d
args:
- BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
restart: unless-stopped
environment:
- CONFIG_ROLE=combine
- SECRET_KEY_BASE=pleasechangeme
- RUBYOPT=-W0
deploy:
resources:
limits:
cpus: 2
depends_on:
- db
ports:
- 4000
networks:
- chemotion
env_file:
- path: .env # see https://github.com/Dokploy/dokploy/issues/385 for more details
volumes:
- ../files/pullin:/shared
configure:
image: ptrxyz/chemotion:eln-2.0.1 # same as the base image in Dockerfile.p2d for efficiency
profiles:
- configure
restart: no
volumes:
- ../files/pullin:/shared
healthcheck:
disable: true
tty: true # Equivalent to `docker run -t`
stdin_open: true # Equivalent to `docker run -i`
command: ["bash"]
networks:
chemotion: