forked from reecetech/django_informixdb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.24 KB
/
docker-compose.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
---
version: '3.6'
services:
test-runner:
image: ${uniq_test_id:-djifx}:test-runner
build:
context: .
dockerfile: Dockerfile.testing
environment:
INFORMIXDIR: /opt/IBM/informix
INFORMIXSQLHOSTS: /opt/IBM/informix/etc/sqlhosts
LD_LIBRARY_PATH: /opt/IBM/informix/lib:/opt/IBM/informix/lib/cli:/opt/IBM/informix/lib/esql
volumes:
- type: bind
source: ./docker-compose.sqlhosts
target: /opt/IBM/informix/etc/sqlhosts
depends_on:
- db
networks:
- test
links:
- db:informix
db:
image: ibmcom/informix-developer-database:${ifx_version:-14.10.FC3DE}
tty: true # Needed to ensure container doesn't self terminate
hostname: db
environment:
LICENSE: accept
DB_USER: adapter
DB_NAME: adapter
DB_PASS: adapter
privileged: true
networks:
- test
ports:
- "9088:9088"
- "9089:9089"
- "27017:27017"
- "27018:27018"
- "27883:27883"
networks:
test:
name: ${uniq_test_id:-djifx}
# vim: set sw=4: