-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (33 loc) · 907 Bytes
/
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
version: "3.9"
services:
haproxy:
image: haproxytech/haproxy-alpine:2.8
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- ./firebird_wrapper.lua:/usr/local/etc/haproxy/firebird_wrapper.lua
command: haproxy -d -f /usr/local/etc/haproxy/haproxy.cfg
ports:
- 3050:3050
- 8500:8500
postgres:
image: postgres:11
environment:
- POSTGRES_DB=docker
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
ports:
- 5432:5432
firebird1:
image: jacobalberty/firebird:3.0
environment:
- FIREBIRD_DATABASE=db1.fdb
- FIREBIRD_USER=docker
- FIREBIRD_PASSWORD=docker
- EnableLegacyClientAuth=true
firebird2:
image: jacobalberty/firebird:3.0
environment:
- FIREBIRD_DATABASE=db2.fdb
- FIREBIRD_USER=docker
- FIREBIRD_PASSWORD=docker
- EnableLegacyClientAuth=true