mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
docs: Add missing command to Docker deployment command
This commit is contained in:
parent
2b0d595133
commit
632001edc8
@ -104,7 +104,6 @@ so before you can pull the image, you need to [authenticate to the Container reg
|
|||||||
1. Create an `.env` file using [.env.example](.env.example) as a template
|
1. Create an `.env` file using [.env.example](.env.example) as a template
|
||||||
2. Create a `configuration.toml` file using [configuration.example.toml](configuration.example.toml) as a template
|
2. Create a `configuration.toml` file using [configuration.example.toml](configuration.example.toml) as a template
|
||||||
3. Start the container using the following command:
|
3. Start the container using the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name revanced-api \
|
docker run -d --name revanced-api \
|
||||||
# Mount the .env file
|
# Mount the .env file
|
||||||
@ -115,6 +114,9 @@ so before you can pull the image, you need to [authenticate to the Container reg
|
|||||||
-v $(pwd)/persistence:/app/persistence \
|
-v $(pwd)/persistence:/app/persistence \
|
||||||
# Expose the port 8888
|
# Expose the port 8888
|
||||||
-p 8888:8888 \
|
-p 8888:8888 \
|
||||||
|
# Use the start command to start the server
|
||||||
|
-e COMMAND=start \
|
||||||
|
# Pull the image from the GitHub Container registry
|
||||||
ghcr.io/revanced/revanced-api:latest
|
ghcr.io/revanced/revanced-api:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user