Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
q191201771 committed Oct 23, 2024
2 parents d30c579 + 6393d59 commit e0a5c4d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,39 @@ $docker build -t lal .
$docker run -it -p 1935:1935 -p 8080:8080 -p 4433:4433 -p 5544:5544 -p 8083:8083 -p 8084:8084 -p 30000-30100:30000-30100/udp lal /lal/bin/lalserver -c /lal/conf/lalserver.conf.json
```

option 3, Use docker-compose

Create a `docker-compose.yml` file with the following content:

```yaml
version: "3.9"
services:
lalserver:
image: q191201771/lal
container_name: lalserver
ports:
- "1935:1935"
- "8080:8080"
- "4433:4433"
- "5544:5544"
- "8083:8083"
- "8084:8084"
- "30000-30100:30000-30100/udp"
command: /lal/bin/lalserver -c /lal/conf/lalserver.conf.json
```
Run the following command to start the service:
```bash
docker-compose up
```

Or run it in the background with:

```bash
docker-compose up -d
```

## Using

Running lalserver:
Expand Down

0 comments on commit e0a5c4d

Please sign in to comment.