-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 803 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 803 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
services:
db:
# postrges
image: postgres:latest
ports:
- '5432:5432'
env_file:
- .env.docker
volumes:
- ./.postgres_data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
redis:
image: redis
ports:
- '6379:6379'
backend:
container_name: node-cast-api
restart: always
ports:
- '3000:3000'
depends_on:
- db
- redis
env_file:
- .env.docker
build:
context: ./
dockerfile: ./apps/node-cast/DockerFile.dev
frontend:
container_name: node-cast-web
restart: always
ports:
- '3001:80'
depends_on:
- backend
build:
context: ./
dockerfile: ./apps/client/DockerFile.dev
networks:
compose-network:
driver: bridge