-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
42 lines (38 loc) · 896 Bytes
/
docker-compose.dev.yml
File metadata and controls
42 lines (38 loc) · 896 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
version: '3.8'
services:
backend:
build:
context: password_wallet
dockerfile: Dockerfile.dev
container_name: backend_wallet
command: sh docker-entrypoint-dev.sh
volumes:
- ./password_wallet:/app/password_wallet
ports:
- "8000:8000"
env_file:
- ./password_wallet/.env
depends_on:
- db
db:
image: postgres:13.0-alpine
container_name: db_wallet
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=${USERNAME}
- POSTGRES_PASSWORD=${PASSWORD}
- POSTGRES_DB=${DB_NAME}
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin_wallet
environment:
- PGADMIN_DEFAULT_EMAIL=${EMAIL}
- PGADMIN_DEFAULT_PASSWORD=${PASSWORD}
- PGADMIN_LISTEN_PORT=5050
ports:
- "5050:5050"
volumes:
postgres_data: