forked from smakosh/auth-ts-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 726 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 726 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
version: '3.7'
services:
# Node server application
server:
image: auth_boilerplate_ts/server
container_name: auth_boilerplate_ts_server
stdin_open: true
build:
context: .
dockerfile: ./docker/app/dev.dockerfile
volumes:
- .:/app
- /app/node_modules
ports:
- 3000:3000
depends_on:
- database
- redis
# Database
database:
image: postgres:alpine
restart: always
ports:
- 5432:5432
env_file:
- ./docker/.env.database.dev
# Database Managment
adminer:
image: adminer
restart: always
ports:
- 8080:8080
# Redis database
redis:
image: redis:latest
restart: always
ports:
- 6379:6379