-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
48 lines (45 loc) · 984 Bytes
/
docker-compose.dev.yml
File metadata and controls
48 lines (45 loc) · 984 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
43
44
45
46
47
48
version: '3.7'
services:
client:
container_name: 1gency-app-client
build:
context: client
dockerfile: Dockerfile.dev
volumes:
- ./client/src:/app/client/src
ports:
- '8080:8080'
depends_on:
- backend
backend:
container_name: 1gency-app-backend
build:
context: backend
args:
REQUIREMENTS_FILE: requirements.dev.txt
volumes:
- ./:/app
- ./logs:/app/backend/logs
- ./backend/src:/app/backend/src
- ./backend/tests:/app/backend/tests
# command: 'bash -c "sleep 10000"'
ports:
- '5000:5000'
depends_on:
- db
environment:
FLASK_DEBUG: true
db:
container_name: 1gency-app-db
image: postgres:16
environment:
POSTGRES_USER: python
POSTGRES_PASSWORD: python
POSTGRES_DB: upwork_tools
ports:
- '5434:5434'
volumes:
- db_volume:/var/lib/postgresql/data
command: '-p 5434'
volumes:
db_volume: