-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.dev.yml
41 lines (39 loc) · 995 Bytes
/
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
version: "3"
services:
# Create React App (CRA) running on development mode
client-dev:
container_name: client-dev
image: ciatphdev/firebase-users-admin-client:dev
env_file:
- ./client/.env
build:
context: ./client
dockerfile: Dockerfile
target: development
networks:
- firebase-users-admin-dev
volumes:
- ./client/public:/opt/client/public
- ./client/src:/opt/client/src
ports:
- "3000:3000"
# Express app running in development mode with auto reload using nodemon
server-dev:
container_name: server-dev
image: ciatphdev/firebase-users-admin-server:dev
env_file:
- ./server/.env
build:
context: ./server
dockerfile: Dockerfile
target: development
networks:
- firebase-users-admin-dev
volumes:
- ./server/src:/opt/server/src
ports:
- "3001:3001"
networks:
firebase-users-admin-dev:
name: firebase-users-admin-dev
external: false