41 lines
980 B
Markdown
Raw Normal View History

# Initial Setup Instructions
How to first begin using this subproject.
1. Move to this directory.
2023-07-06 06:13:26 -07:00
```
$ cd $DOCKER_HOME/Config/ReverseProxy
```
1. Run the placeholder certificate program.
2023-07-06 06:13:26 -07:00
```
# create_placeholder_certs.sh
```
1. Build the project. This also needs done any time `./config/conf.d/*` changes.
2023-07-06 06:13:26 -07:00
```
# docker compose build
```
1. Start the project.
2023-07-06 06:13:26 -07:00
```
# docker compose up -d
```
1. Verify it started correctly, no configuration file errors.
2023-07-06 06:13:26 -07:00
```
# docker compose logs reverseproxy-app-1
# docker compose logs reverseproxy-certbot-1
```
# Other Commands
Tasks which will also likely come up while using this subproject.
## Stop
If you need to halt the system you may use either stop or down.
```
# docker compose stop
# docker compose down
```
## Upgrade
2023-07-06 06:13:26 -07:00
Upgrading the containers should be as easy as this:
```
# docker compose down
# docker compose pull
# docker compose build
# docker compose up -d
```