-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (48 loc) · 973 Bytes
/
docker-compose.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
version: '3.8'
services:
postgres:
build:
context: docker/dev/postgres
dockerfile: Dockerfile
restart: always
container_name: "postgres"
volumes:
- database:/var/lib/postgres/data
ports:
- "5432:5432"
environment:
- POSTGRES_USER=abdel
- POSTGRES_PASSWORD=password123
- POSTGRES_DB=vuejsprisma_dev
nodejs:
build:
context: docker/dev/api
dockerfile: Dockerfile
depends_on:
- postgres
ports:
- "3080:3080"
volumes:
- ./api:/var/www/api
client:
build:
context: docker/dev/client
dockerfile: Dockerfile
depends_on:
- nodejs
ports:
- "8080:8080"
volumes:
- ./client:/var/www/client
meilisearch:
build:
context: docker/dev/meilisearch
dockerfile: Dockerfile
depends_on:
- nodejs
ports:
- "7700:7700"
volumes:
- ./client:/var/www/meilisearch
volumes:
database: