-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (61 loc) · 1.83 KB
/
docker-compose.yml
File metadata and controls
68 lines (61 loc) · 1.83 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
omopdb:
image: beapen/broadsea-atlasdb:2.0
restart: unless-stopped
environment:
POSTGRES_PASSWORD: mypass
ports:
- "5432:5432"
networks:
- ohdsi-omop-v5
volumes:
- omop-postgres-data:/var/lib/postgresql/data
webapi:
image: ohdsi/webapi:2.14.0
restart: unless-stopped
ports:
- "${WEBAPI_HOST_PORT:-9876}:8080"
environment:
DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
DATASOURCE_URL: jdbc:postgresql://omopdb:5432/postgres
DATASOURCE_USERNAME: postgres
DATASOURCE_PASSWORD: mypass
DATASOURCE_OHDSI_SCHEMA: webapi
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
SPRING_JPA_PROPERTIES_HIBERNATE_DEFAULT_SCHEMA: webapi
SPRING_BATCH_INITIALIZER_ENABLED: true
# Spring batch initialization always
SPRING_BATCH_INITIALIZE-SCHEMA: always
SPRING_BATCH_REPOSITORY_TABLEPREFIX: webapi.BATCH_
FLYWAY_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
FLYWAY_DATASOURCE_URL: jdbc:postgresql://omopdb:5432/postgres
FLYWAY_DATASOURCE_USERNAME: postgres
FLYWAY_DATASOURCE_PASSWORD: mypass
FLYWAY_LOCATIONS: classpath:db/migration/postgresql
FLYWAY_PLACEHOLDERS_OHDSISCHEMA: webapi
FLYWAY_SCHEMAS: webapi
SECURITY_ORIGIN: "http://localhost:8080"
SECURITY_CORS_ENABLED: "true"
SECURITY_SSL_ENABLED: "false"
networks:
- ohdsi-omop-v5
depends_on:
- omopdb
atlas:
image: ohdsi/atlas:2.14.1
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./config-local.js:/etc/atlas/config-local.js
networks:
- ohdsi-omop-v5
depends_on:
- webapi
networks:
ohdsi-omop-v5:
name: ${DOCKER_NETWORK}
volumes:
omop-postgres-data:
name: omop-postgres-data
driver: local