-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 982 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
38
39
40
41
42
43
44
45
46
47
48
49
services:
app:
build:
context: .
args:
- DEV=true
ports:
- "8000:8000"
volumes:
- ./app:/app
command: >
sh -c "python manage.py runserver 0.0.0.0:8000"
environment:
- PGDB_HOST=pgdb
- PGDB_NAME=devdb
- PGDB_USER=devuser
- PGDB_PASS=changeme
- FBDB_HOST=fbdb
- FBDB_NAME=/firebird/data/test.fdb
- FGDB_USER=sysdba
- FGDB_PASS=masterkey
depends_on:
- pgdb
- fbdb
pgdb:
image: postgres:17.0
volumes:
- dev-pgdb-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=devdb
- POSTGRES_USER=devuser
- POSTGRES_PASSWORD=changeme
ports:
- "5432:5432"
fbdb:
image: jacobalberty/firebird:latest
environment:
- ISC_PASSWORD=masterkey
volumes:
- dev-fbdb-data:/firebird/
- /Users/albert/DB:/firebird/data
ports:
- "3051:3050"
volumes:
dev-pgdb-data:
dev-fbdb-data: