-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (37 loc) · 977 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:
supervisor:
image: "ghcr.io/amphineko/yonagi"
build:
context: "."
dockerfile: "Dockerfile"
target: "dist"
command: ["/app/scripts/supervisor.sh"]
entrypoint: ["sh"]
environment:
LISTEN_PORT: "8000"
LISTEN_HOST: "0.0.0.0"
expose:
- "8000/tcp"
ports:
- "1812:1812/udp"
restart: "unless-stopped"
volumes:
- "./data:/data"
web:
image: "ghcr.io/amphineko/yonagi"
build:
context: "."
dockerfile: "Dockerfile"
target: "dist"
command: ["web:start"]
entrypoint: ["yarn"]
environment:
SUPERVISOR_HOST: "http://supervisor:8000"
depends_on:
- "supervisor"
ports:
- "3000:3000/tcp"
restart: "unless-stopped"
volumes:
- "./data:/data"