init commit
This commit is contained in:
51
docker-compose.yml
Normal file
51
docker-compose.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
livekit:
|
||||
image: livekit/livekit-server:latest
|
||||
container_name: linkra-livekit
|
||||
command: --config /etc/livekit.yaml
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7881:7881/tcp"
|
||||
- "7882:7882/udp"
|
||||
- "127.0.0.1:7880:7880"
|
||||
volumes:
|
||||
- ./livekit.yaml:/etc/livekit.yaml:ro
|
||||
networks:
|
||||
- linkra_net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7880"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
container_name: linkra-backend
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- path: .env
|
||||
required: false
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
depends_on:
|
||||
livekit:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- linkra_net
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
container_name: linkra-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8080:80"
|
||||
depends_on:
|
||||
- backend
|
||||
networks:
|
||||
- linkra_net
|
||||
|
||||
networks:
|
||||
linkra_net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user