-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (37 loc) · 998 Bytes
/
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
version: '3'
services:
pear:
image: ghcr.io/dsm-pear/user-server:latest
ports:
- "8005:8080"
volumes:
- /home/hong/projects/user_backend_v2/log:/logs/*.log
networks:
- redis-network
environment:
- DB_URL=${DB_URL}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- MAIL_USERNAME=${MAIL_USERNAME}
- MAIL_PASSWORD=${MAIL_PASSWORD}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- JWT_SECRET=${JWT_SECRET}
- JWT_ACCESS_TOKEN_EXP=${JWT_ACCESS_TOKEN_EXP}
- JWT_REFRESH_TOKEN_EXP=${JWT_REFRESH_TOKEN_EXP}
- JWT_HEADER=${JWT_HEADER}
- JWT_PREFIX=${JWT_PREFIX}
- MAIL_SECRET=${MAIL_SECRET}
- SERVER_URL=${SERVER_URL}
- SERVER_KEY=${SERVER_KEY}
redis:
image: redis
container_name: redis-server
ports:
- "6380:6379"
volumes:
- /home/hong/projects/user_backend_v2/data
networks:
- redis-network
networks:
redis-network: