-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·41 lines (40 loc) · 886 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·41 lines (40 loc) · 886 Bytes
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
version: '3.3'
services:
java-srv:
build:
context: java-srv
depends_on:
- db
links:
- "db:db"
command: sh -c "/wait && gradle run"
env_file:
- ./db.env
environment:
- WAIT_HOSTS=db:50000
- WAIT_HOSTS_TIMEOUT=300
- WAIT_SLEEP_INTERVAL=140
- WAIT_HOST_CONNECT_TIMEOUT=30
db:
image: ibmcom/db2
privileged: true
environment:
LICENSE: "accept"
DB2INSTANCE: "db2dude"
DB2INST1_PASSWORD: "db2pw"
DBNAME: "animal"
BLU: "false"
ENABLE_ORACLE_COMPATIBILITY: "false"
UPDATEVAIL: "NO"
TO_CREATE_SAMPLEDB: "false"
REPODB: "false"
IS_OSXFS: "true"
PERSISTENT_HOME: "true"
HADR_ENABLED: "false"
ETCD_ENDPOINT: ""
ETCD_USERNAME: ""
ETCD_PASSWORD: ""
# volumes:
# - ./db/sql:/database
ports:
- 50000:50000