mirror of
https://github.com/fspc/ybdb.git
synced 2025-02-28 18:43:23 -05:00
adding docker-compose instructions
This commit is contained in:
parent
8d3daf57d8
commit
cdb5a55de3
24
README.md
24
README.md
@ -6,13 +6,29 @@ Yellow Bike [Project's](http://austinyellowbike.org) Hours and Transaction [Data
|
||||
|
||||
Heavily developed [YBP Devel](https://github.com/fspc/Yellow-Bike-Database/tree/devel) is being utilized.
|
||||
|
||||
## Pull the repository
|
||||
## How to Use
|
||||
|
||||
The recommended way is to run `docker-compose up -d`.
|
||||
|
||||
## 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:
|
||||
|
||||
###### environment
|
||||
```
|
||||
VIRTUAL_HOST=ybdb.bikelover.org
|
||||
LETSENCRYPT_HOST=ybdb.bikelover.org
|
||||
LETSENCRYPT_EMAIL="jr@bikelover.org"
|
||||
```
|
||||
|
||||
## Old Fashioned way
|
||||
|
||||
If you do not want to use docker-compose, you may pull the repository:
|
||||
|
||||
```
|
||||
docker pull bikebike/ybdb
|
||||
```
|
||||
|
||||
## Run the docker container
|
||||
Then run the docker container:
|
||||
|
||||
Publish the container's port to the host:
|
||||
|
||||
@ -23,10 +39,6 @@ Publish the container's port to the host:
|
||||
docker run -d -p 81:80 --name="ybdb" bikebike/ybdb
|
||||
```
|
||||
|
||||
### Status
|
||||
|
||||
Moving along nicely!
|
||||
|
||||
## How to test/develop inside the running container process
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user