Skip to content

Commit

Permalink
chore: update docker instructions on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
authcompanion committed Oct 5, 2023
1 parent c619a6d commit 9e45481
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,12 @@ $ npm start

### With Docker

Make sure to have the
[respository cloned](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository).
Then from the main directory, build the AuthC server image:
Start the server (with the default config):

```bash
$ git clone https://github.com/authcompanion/authcompanion2.git
```

```bash
$ docker build -t authc_server .
```

Start the server (default config):

```bash
$ docker run --name authcompanion \
-p 3002:3002 \
authc_server
$ docker run -it -p 3002:3002 --name AuthCompanion ghcr.io/authcompanion/authcompanion2:main
```
Also available is the [docker-compose.yml](https://github.com/authcompanion/authcompanion2/blob/main/docker-compose.yml)

### Configure AuthCompanion

Expand Down

0 comments on commit 9e45481

Please sign in to comment.