-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.development.yml
57 lines (53 loc) · 1.22 KB
/
docker-compose.development.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
50
51
52
53
54
55
56
57
# This is the compose file for live-reloading development environments.
# This should NEVER be enabled in production.
version: "3.9"
services:
discord-bot:
build:
dockerfile: ./discord-bot/development.Dockerfile
context: .
volumes:
- .:/var/app
- build_cache:/root/.cargo
depends_on:
- db
cpu_percent: 80
pgadmin:
image: dpage/pgadmin4
ports:
- 9000:80
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_LISTEN_ADDRESS: 0.0.0.0
PGADMIN_LISTEN_PORT: 80
GUNICORN_ACCESS_LOGFILE: /var/lib/pgadmin/log.log
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- db
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ports:
- 22181:2181
db:
image: postgres:14
restart: always
ports:
- 5432:5432
volumes:
- postgresql_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=gale
- POSTGRES_PASSWORD=password
volumes:
postgresql_data:
driver: local
build_cache:
driver: local
pgadmin_data:
driver: local