-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.social.yml
32 lines (30 loc) · 1.06 KB
/
docker-compose.social.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
version: '3.7'
services:
social-bot:
image: chatsift/social:latest
env_file:
- ./.env.social
- ./.env.parseable
environment:
DATABASE_URL: 'postgresql://user:admin@postgres-old:5432/social'
REDIS_URL: 'redis://redis:6379/1'
SERVICE_NAME: 'socialbot'
restart: unless-stopped
volumes:
- ./logs/social:/usr/social/logs
command: 'sh -c "yarn prisma migrate deploy && (node --enable-source-maps ./packages/bot/dist/index.js 2>&1 | node --enable-source-maps ./node_modules/.bin/chatsift-logs)"'
social-api:
image: chatsift/social:latest
env_file:
- ./.env.social
- ./.env.parseable
environment:
DATABASE_URL: 'postgresql://user:admin@postgres-old:5432/social'
PORT: '8080'
SERVICE_NAME: 'socialapi'
expose:
- 8080
restart: unless-stopped
volumes:
- ./logs/social:/usr/social/logs
command: 'sh -c "yarn prisma migrate deploy && (node --enable-source-maps ./packages/api/dist/index.js 2>&1 | node --enable-source-maps ./node_modules/.bin/chatsift-logs)"'