-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 956 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (46 loc) · 956 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
version: "3.8"
services:
server:
image: mates-server
container_name: mates-server
build:
context: ./server
dockerfile: Dockerfile
env_file:
- ./server/.env
environment:
- POSTGRES_USER=postgres.xwmpmnahzdnzfzhzdqgz
- POSTGRES_HOST=aws-0-ap-southeast-1.pooler.supabase.com
- POSTGRES_PASSWORD=root
- POSTGRES_DB=postgres
volumes:
- ./server:/usr/src/app
- /usr/src/app/node_modules
ports:
- 8080:8080
networks:
- mates
client:
image: mates-client
container_name: mates-client
restart: unless-stopped
build:
context: ./client
dockerfile: Dockerfile
env_file:
- ./client/.env
ports:
- 5173:5173
volumes:
- ./client:/usr/src/app
- /usr/src/app/node_modules
depends_on:
- server
networks:
- mates
networks:
mates:
driver: bridge
volumes:
db:
driver: local