-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
68 lines (64 loc) · 1.36 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
62
63
64
65
66
67
68
services:
# db:
# image: postgres:16
# environment:
# POSTGRES_PASSWORD: postgres
# TZ: Asia/Tokyo
# expose:
# - 5432
# ports:
# - 5432:5432
# volumes:
# - postgres_volume:/var/lib/postgresql/data
redis:
image: redis:7
expose:
- 6379
ports:
- 6379:6379
volumes:
- redis_volume:/data
push-serverless:
build:
context: ./
dockerfile: ./apps/push-serverless/Dockerfile
expose:
- 8000
ports:
- '8081:80'
- '1935:1935'
- '1985:1985'
env_file:
- .env
environment:
SERVER_ENDPOINT: http://host.docker.internal:8080
extra_hosts:
- 'host.docker.internal:host-gateway'
# video_caddy:
# image: caddy:2
# ports:
# - '8082:80'
# volumes:
# - ./infra/video/Caddyfile:/etc/caddy/Caddyfile:ro
# - ./dockerdata/video-web/static:/srv/static:ro
# environment:
# VIDEO_DOMAIN: http://
#
# video_agent:
# build:
# context: ./
# dockerfile: ./apps/video/Dockerfile
# container_name: video
# expose:
# - 8000
# env_file:
# - .env
# volumes:
# - ./dockerdata/video-web/static:/home/node/static
# environment:
# SERVER_ENDPOINT: http://host.docker.internal:8080
# extra_hosts:
# - 'host.docker.internal:host-gateway'
volumes:
postgres_volume:
redis_volume: