-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
53 lines (49 loc) · 1.01 KB
/
docker-compose.yaml
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
version: "3"
services:
bot:
container_name: "uaasb_bot"
build:
dockerfile: Dockerfile.local
volumes:
- ".:/usr/src/app"
- "/usr/src/app/node_modules"
env_file: ".env"
depends_on:
# - postgres
- redis
environment:
REDIS_URL: redis://redis:6379
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "50m"
#
# backend:
# container_name: "uaasb_backend"
# build: ./Dockerfile.backend
# volumes:
# - ".:/app"
# - "/app/node_modules"
# ports:
# - "${PORT}:${PORT}"
# env_file: ".env"
# restart: unless-stopped
# logging:
# driver: "json-file"
# options:
# max-size: "50m"
# postgres:
# container_name: "uaasb_postgres"
# image: "postgres:13.6-alpine"
# ports:
# - "${PGPORT}:${PGPORT}"
# env_file: ".env"
redis:
container_name: "uaasb_redis"
image: 'redis:6.0-alpine'
ports:
- '6379:6379'
volumes:
data_backend_libs:
driver: local