mirror of
https://github.com/fspc/ybdb.git
synced 2025-02-28 18:43:23 -05:00
Better explanation about environment.
This commit is contained in:
parent
cdb5a55de3
commit
8cdd58fccb
@ -8,10 +8,10 @@ Heavily developed [YBP Devel](https://github.com/fspc/Yellow-Bike-Database/tree/
|
|||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
|
|
||||||
The recommended way is to run `docker-compose up -d`.
|
The recommended way is to run `docker-compose up -d`. By default, your container will be available on port 88.
|
||||||
|
|
||||||
## Advanced environmental changes
|
## Advanced environmental changes
|
||||||
The docker-compose.yml file looks for a file called environment. I enjoy using [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion), so here is what I add:
|
The docker-compose.yml file looks for a file called environment. I enjoy using [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion), so here is what I add, after changing `port` in docker-compose.yml from `88:80` to `80`:
|
||||||
|
|
||||||
###### environment
|
###### environment
|
||||||
```
|
```
|
||||||
@ -36,7 +36,7 @@ Publish the container's port to the host:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d -p 81:80 --name="ybdb" bikebike/ybdb
|
docker run -d -p 88:80 --name="ybdb" bikebike/ybdb
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to test/develop inside the running container process
|
## How to test/develop inside the running container process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user