-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
37 lines (35 loc) · 893 Bytes
/
docker-compose.dev.yml
File metadata and controls
37 lines (35 loc) · 893 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
version: '3.7'
services:
server:
build:
context: .
target: dev
restart: always
depends_on:
- database
environment:
MONGO_USER: root
MONGO_PASSWORD: rootpassword
MONGO_PATH: database:27017/mini-jira?authSource=admin
PORT: 5000
JWT_SECRET: test1
JWT_REFRESH_SECRET: test2
GOOGLE_AUTH_CLIENT_ID: 416520824005-i7rgnt5fcm7rd12av7p7h70ndvnmjodp.apps.googleusercontent.com
GOOGLE_AUTH_CLIENT_SECRET:
GOOGLE_AUTH_REDIRECT_URL:
ports:
- 5000:5000
volumes:
- ./src:/app/src
- ./server.ts:/app/server.ts
- ./swagger.ts:/app/swagger.ts
database:
image: mongo:4.2.2
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword
volumes:
- mongodb_data_container:/data/db
volumes:
mongodb_data_container: