-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (55 loc) · 1.31 KB
/
docker-compose.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
55
56
57
58
59
60
61
services:
db:
image: postgres:16-alpine3.19
container_name: boilerplate-db
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- boilerplate-network
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
maildev:
build:
context: .
dockerfile: maildev.Dockerfile
ports:
- ${MAIL_CLIENT_PORT}:1080
- ${MAIL_PORT}:1025
# app:
# environment:
# - REDIS_URL=redis://redis_dev:6379
# - NODE_ENV=development
# - DATABASE_URL
# container_name: boilerplate-comments
# image: mrglox/nestjs-remix-monorepo:dev
# restart: always
# ports:
# - 3000:3000
# depends_on:
# - db
# networks:
# - boilerplate-network
redis:
image: redis:latest
restart: always
ports:
- '6379:6379'
command: [ "redis-server" ]
# --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81
volumes:
- ./cache:/data
- /dev/volumes/nestjs-remix/dev/sessions/:/data
volumes:
postgres_data:
networks:
boilerplate-network:
driver: bridge