[DiscordArchive] In the `docker-compose.yml` there's several values that are defined via environment variables. This
[DiscordArchive] In the `docker-compose.yml` there's several values that are defined via environment variables. This
Archived author: ReynoldsCahoon • Posted: 2021-04-14T04:03:36.341000+00:00
Original source
In the `docker-compose.yml` there's several values that are defined via environment variables. This makes sense to me. What I don't understand is the syntax in a line like this:
```yaml
ports:
${WORLD_EXTERNAL_PORT:-8085}:8085
```
The `WORLD_EXTERNAL_PORT` value is `8085`, as set in the `.env` file, but is the `:-8085` a default value, provided there isn't an environment variable or something?