Skip to content

Commit

Permalink
Merge pull request Place1#5 from vincentbitter/custom-config-in-docker
Browse files Browse the repository at this point in the history
Add documentation on how to use a custom config.yaml in Docker containers
  • Loading branch information
Place1 authored Dec 10, 2019
2 parents 271f737 + 77af2ac commit f2cbb51
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ docker run \
place1/wg-access-server
```

To use a custom [configuration](#configuration) file, please add a `CONFIG` environment variable and make sure the configuration file is mounted:
```
...
-e CONFIG=/config/config.yaml
-v ./config.yaml:/config/config.yaml
...
```

## Configuration

You can configure the server using a config file.
Expand Down

0 comments on commit f2cbb51

Please sign in to comment.