diff --git a/README.md b/README.md index eb50a97..cb0da43 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,22 @@ in case of any conflicts. #### 1. Start the server +##### Start without docker ```shell go run ./cmd/server/main.go ``` +##### Change API address +```shell +API_ADDRESS=127.0.0.1:3001 go run ./cmd/server/main.go +``` + +#### Start in docker + +```shell +docker compose up -d webarchive +``` + #### 2. Add a page ```shell diff --git a/docker-compose.yaml b/docker-compose.yaml index dc45ad5..35e062c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,4 +13,4 @@ services: volumes: - ./db:/db ports: - - "0.0.0.0:5002:5001" + - "0.0.0.0:5001:5001"