-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
57 lines (53 loc) · 1.35 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
57 lines (53 loc) · 1.35 KB
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
55
56
57
# version: '3.3'
#
# services:
# api-dev:
# container_name: api-development
# build:
# context: .
# dockerfile: Dockerfile
# args:
# NODE_ENV: development
# volumes:
# - ./:/app
# - /app/node_modules
# ports:
# - '3000:2000'
# environment:
# ME_CONFIG_MONGODB_ADMINUSERNAME: root
# ME_CONFIG_MONGODB_ADMINPASSWORD: password
# MONGO_URI: mongodb://mongodb:27017/chatAppMitrain_dev
# DATABASE_URL: mysql://root:password@mysql:1002/mitraindb_dev
# NODE_ENV: development
# JWT_SECRET: sajkldnjsandasalaasalanajainimah1222346534rwdf
# command: npm run dev
#
# networks:
# default:
# external: true
# name: proxy
version: '3.3'
services:
api-dev:
container_name: api-development
build:
context: .
args:
NODE_ENV: development
volumes:
- ./public/images:/app/public/images
ports:
- '4000:2000'
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: password
MONGO_URI: mongodb://mongodb:27017/chatAppMitrain_dev
DATABASE_URL: mysql://root:password@mysql:1002/mitraindb_dev
NODE_ENV: development
JWT_SECRET: r21jCAhL09vcNGTNvsc0o3DKAeV7/SJBVVenGJ6WxSA=
PORT: 4000
command: npm run dev
networks:
default:
external: true
name: proxy