-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
54 lines (49 loc) · 1.15 KB
/
docker-compose-dev.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
50
51
52
53
54
version: '3.1'
services:
mongo:
container_name: senior-movie-selector-mongo-dev
image: mongo:4.4.18
restart: unless-stopped
environment:
MONGO_INITDB_DATABASE: films
volumes:
- type: bind
source: ./mongo/db
target: /data/db
ports:
- 27017:27017
client:
container_name: senior-movie-selector-client-dev
restart: unless-stopped
build:
context: ./client/
dockerfile: Dockerfile.dev
ports:
- 80:80
db-client:
container_name: senior-movie-selector-db-client-dev
restart: unless-stopped
build:
context: ./db-client/
dockerfile: Dockerfile.dev
ports:
- 8000:8000
db-server:
container_name: senior-movie-selector-db-server-dev
restart: unless-stopped
build:
context: ./db-server/
dockerfile: Dockerfile
ports:
- 3000:3000
fileserver:
container_name: senior-movie-selector-fileserver-dev
restart: unless-stopped
build:
context: ./fileserver/
dockerfile: Dockerfile
volumes:
- ./films/:/movie-app/films:ro
- ./poster/:/movie-app/poster:ro
ports:
- 1337:1337