-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yml
44 lines (43 loc) · 1.07 KB
/
example.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
version: '3.9'
services:
caddy:
# Override with Caddyfile using additional handle for PHG BrAPI server
volumes:
- ./example/ExampleCaddyfile:/etc/caddy/Caddyfile
jupyterhub:
# Override Hub config with demo-specific changes
volumes:
- ./example/example_config.py:/srv/jupyterhub/jupyterhub_config.py:ro
- ./example/templates:/etc/jupyterhub/templates
phg_brapi:
container_name: phg_brapi
image: maizegenetics/phg_brapi:latest
restart: unless-stopped
networks:
- brapi_net
deploy:
resources:
limits:
memory: 40G
reservations:
memory: 30G
volumes:
- ./brapi:/phg/resources
environment:
JAVA_OPTS: "-Xmx40g -Xms30g"
ports:
- 127.0.0.1:8080:8080
maize_2_1_phg_db:
container_name: maize_db
image: postgres:14
restart: unless-stopped
networks:
- brapi_net
env_file: prod.env
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- 127.0.0.1:5432:5432
networks:
brapi_net:
name: brapi_net