-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (47 loc) · 994 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (47 loc) · 994 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
42
43
44
45
46
47
services:
db2:
image: icr.io/db2_community/db2
platform: linux/amd64
privileged: true
environment:
LICENSE: accept
DB2INST1_PASSWORD: db2fdw
DBNAME: testdb
volumes:
- db2-data:/database
builder:
image: builder
environment:
DB2_HOME: /opt/ibm/db2/V12.1
build:
context: docker/builder
args:
- PGVERSION=${PGVERSION}
platform: linux/amd64
volumes:
- ./:/host
command: /scripts/build_rpm.sh
postgres:
build:
context: docker/postgres
environment:
LD_LIBRARY_PATH: /opt/ibm/db2/V12.1/lib64
rpmsigner:
image: builder
command: /scripts/sign_rpms.sh
volumes:
- ./:/host
environment:
GPG_PASSPHRASE: ${GPG_PASSPHRASE}
GPG_KEY_B64: ${GPG_KEY_B64}
#dev:
# image: builder
# platform: linux/amd64
# volumes:
# - ./:/host
# command:
# - /bin/bash
# - -c
# - while sleep 1; do echo -n .; done
volumes:
db2-data: