forked from pavol-brunclik-m2ms/fragalysis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.dev.vector.yml
116 lines (115 loc) · 3.7 KB
/
docker-compose.dev.vector.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
version: '3'
services:
database:
image: postgres:12.2
volumes:
- ../data/postgre/data:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: fragalysis
POSTGRES_USER: fragalysis
POSTGRES_DB: frag
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- '5432:5432'
healthcheck:
test: pg_isready -U fragalysis -d frag
interval: 10s
timeout: 2s
retries: 5
start_period: 10s
redis:
image: redis:7.0.12-alpine3.18
container_name: redis
ports:
- "6379:6379"
healthcheck:
test: redis-cli ping
interval: 10s
timeout: 2s
retries: 5
start_period: 10s
graph:
container_name: neo4j
image: informaticsmatters/fragnet-test:3.5.25-xchem-combi-sample-2021-02
ports:
# Comment these two out in produciton
- '7474:7474'
- '7687:7687'
ulimits:
nofile:
soft: 40000
hard: 40000
environment:
GRAPH_PASSWORD: test123
CYPHER_PRE_NEO4J_SLEEP: 0
NEO4J_dbms_memory_pagecache_size: 4G
healthcheck:
test: wget http://localhost:7474 || exit 1
interval: 10s
timeout: 10s
retries: 20
start_period: 10s
web:
container_name: web_dock
image: xchem/fragalysis-stack:latest
# image: alanbchristie/fragalysis-backend:1187.3
# image: boriskovarm2ms/fragalysis-stack:experiment2
# image: kaliif/fragalysis-backend:latest
command: /bin/bash /code/launch-stack.sh
volumes:
- ../data/logs:/code/logs/
- ../data/media:/code/media/
- ../fragalysis-frontend:/code/frontend
ports:
- '8080:80'
environment:
POSTGRESQL_DATABASE: frag
POSTGRESQL_USER: fragalysis
POSTGRESQL_PASSWORD: fragalysis
POSTGRESQL_HOST: database
POSTGRESQL_PORT: 5432
NEO4J_AUTH: neo4j/test123
# DISCOURSE_API_KEY: ${DISCOURSE_API_KEY}
FRAGALYSIS_BACKEND_SENTRY_DNS: https://27fa0675f555431aa02ca552e93d8cfb@o194333.ingest.sentry.io/1298290
ISPYB_FLAG: 'False'
# DISCOURSE_DEV_POST_SUFFIX: '-boris-local'
# DISCOURSE_HOST: 'https://discourse.xchem-dev.diamond.ac.uk'
SQUONK2_UI_URL: 'https://data-manager-ui.xchem-dev.diamond.ac.uk/data-manager-ui'
SQUONK2_DMAPI_URL: 'https://data-manager.xchem-dev.diamond.ac.uk/data-manager-api'
SQUONK2_ASAPI_URL: 'https://account-server.xchem-dev.diamond.ac.uk/account-server-api'
SQUONK2_ORG_OWNER: ${SQUONK2_ORG_OWNER}
SQUONK2_ORG_OWNER_PASSWORD: ${SQUONK2_ORG_OWNER_PASSWORD}
SQUONK2_ORG_UUID: ${SQUONK2_ORG_UUID}
SQUONK2_PRODUCT_FLAVOUR: 'SILVER'
SQUONK2_SLUG: ${SQUONK2_SLUG}
SQUONK2_UNIT_BILLING_DAY: 3
OIDC_AS_CLIENT_ID: 'account-server-api-dev'
OIDC_DM_CLIENT_ID: 'data-manager-api-dev'
OIDC_KEYCLOAK_REALM: 'https://keycloak.xchem-dev.diamond.ac.uk/auth/realms/xchem'
OIDC_RP_CLIENT_SECRET: ${OIDC_RP_CLIENT_SECRET}
OIDC_RP_CLIENT_ID: 'fragalysis-local'
OIDC_RENEW_ID_TOKEN_EXPIRY_MINUTES: 210
ISPYB_HOST: ispybdbproxy.diamond.ac.uk
ISPYB_PORT: 4306
ISPYB_USER: ${ISPYB_USER}
ISPYB_PASSWORD: ${ISPYB_PASSWORD}
SECURITY_CONNECTOR: ssh_ispyb
SSH_HOST: ssh.diamond.ac.uk
SSH_USER: ${SSH_USER}
SSH_PASSWORD: ${SSH_PASSWORD}
LOGGING_FRAMEWORK_ROOT_LEVEL: DEBUG
AUTHENTICATE_UPLOAD: 'False'
CELERY_TASK_ALWAYS_EAGER: 'True'
DEBUG_FRAGALYSIS: 'True'
PROXY_FORWARDED_PROTO_HEADER: 'http'
LEGACY_URL: 'https://fragalysis.diamond.ac.uk'
DEPLOYMENT_MODE: 'development'
# INFECTIONS: 'structure-download'
depends_on:
database:
condition: service_healthy
redis:
condition: service_healthy
graph:
condition: service_healthy