-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
72 lines (65 loc) · 1.31 KB
/
docker-compose.yaml
File metadata and controls
72 lines (65 loc) · 1.31 KB
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
62
63
64
65
66
67
68
69
70
71
72
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
# container_name: twocast_app
ports:
- '3000:3000'
volumes:
- .:/app
- /app/node_modules
- /app/.next
command: /bin/sh -c "yarn && yarn start"
restart: unless-stopped
networks:
- twocast-network
depends_on:
- redis
- postgres
redis:
image: redis:alpine
# container_name: redis
expose:
- '6379'
command: ["redis-server", "--loglevel", "warning"]
restart: always
networks:
- twocast-network
textract:
image: bespaloff/textract-rest-api:v4.0.2
# container_name: textract
expose:
- '8080'
environment:
- PORT=8080
restart: always
networks:
- twocast-network
ffmpeg-api:
image: kazhar/ffmpeg-api
# container_name: ffmpeg-api
expose:
- '8081'
environment:
- PORT=8081
restart: always
networks:
- twocast-network
postgres:
image: postgres:15-alpine
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=twocast
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- twocast-network
volumes:
postgres_data:
networks:
twocast-network:
driver: bridge