You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5 KiB
Markdown

4 years ago
# Order of Deployment
* Start Here: https://github.com/StarWhiz/docker_deployment_notes/tree/master/iniital%20ubuntu%20server%20setup
* Follow DoTheEvo's Caddy v2 Guide: https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/caddy_v2
4 years ago
* Finally Follow application specific guides on DoTheEvo's Github: https://github.com/DoTheEvo/selfhosted-apps-docker/
4 years ago
* Or follow my two application specific guides (Seafile and Wordpress for now)
4 years ago
4 years ago
# Most commonly used commands
4 years ago
```
docker exec -w /etc/caddy caddy caddy reload
```
Use this command everytime you make changes to Caddyfile.
```
docker exec -t -i CONTAINERNAME /bin/bash
```
Command to enter a container's shell
4 years ago
# Commonly added to docker-compose.yml files
```
### Commonly Added
services:
exampleapp:
container_name: NameForCaddyRevProxy
restart: unless-stopped
### The Caddy Network
4 years ago
networks:
default:
external:
name: caddy_net
```
# To prevent automatic HTTPS on Caddy 2
Append http:// to your CaddyFile Entries. Example Below.
```
http://subdomain.yourdomain.com {
reverse_proxy 192.168.16.5
}
```
4 years ago
# Application Specific Deployments
#### Seafile
4 years ago
https://github.com/StarWhiz/docker_deployment_notes/tree/master/seafile
4 years ago
4 years ago
#### Wordpress
https://github.com/StarWhiz/docker_deployment_notes/tree/master/wordpress
#### Rocket.chat
4 years ago
https://github.com/StarWhiz/docker_deployment_notes/tree/master/rocketchat
#### Zoneminder
https://github.com/StarWhiz/docker_deployment_notes/tree/master/zoneminder
#### ShinobiCCTV
https://github.com/StarWhiz/docker_deployment_notes/tree/master/shinobi