-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (50 loc) · 861 Bytes
/
docker-compose.yml
File metadata and controls
55 lines (50 loc) · 861 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
49
50
51
52
53
54
55
services:
client_web:
build: ./front
ports:
- "8081:3000"
environment:
- API_URL=http://back:8080
networks:
- area
depends_on:
- server
- client_mobile
volumes:
- ./APK/:/app/public/APK
server:
build: ./back
depends_on:
- db
ports:
- "8080:8080"
env_file:
- .env
networks:
- area
db:
image: postgres:13
environment:
POSTGRES_USER: dev
POSTGRES_DB: area
POSTGRES_PASSWORD: dev
ports:
- "5432:5432"
networks:
- area
client_mobile:
build:
context: ./mobile
dockerfile: Dockerfile
volumes:
- gradle-cache:/root/.gradle
- ./APK/:/output
environment:
- API_IP=192.168.1.41
networks:
- area
networks:
area:
driver: bridge
volumes:
gradle-cache: