docker_deployment_notes/README.md

58 lines
1.5 KiB
Markdown
Raw Normal View History

2020-08-08 18:46:48 +00:00
# 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
2020-08-08 18:47:41 +00:00
* Finally Follow application specific guides on DoTheEvo's Github: https://github.com/DoTheEvo/selfhosted-apps-docker/
2020-08-08 18:46:48 +00:00
* Or follow my two application specific guides (Seafile and Wordpress for now)
2020-08-04 17:25:45 +00:00
2020-08-08 18:47:41 +00:00
# Most commonly used commands
2020-08-04 17:25:45 +00:00
```
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
2020-08-10 16:32:52 +00:00
# Commonly added to docker-compose.yml files
```
### Commonly Added
services:
exampleapp:
container_name: NameForCaddyRevProxy
restart: unless-stopped
### The Caddy Network
2020-08-10 16:32:52 +00:00
networks:
default:
external:
name: caddy_net
```
2020-11-14 18:30:31 +00:00
# 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
}
```
2020-08-08 18:47:41 +00:00
# Application Specific Deployments
2020-08-03 23:51:43 +00:00
#### Seafile
2020-08-08 18:46:48 +00:00
https://github.com/StarWhiz/docker_deployment_notes/tree/master/seafile
2020-08-03 23:56:18 +00:00
2020-08-08 18:46:48 +00:00
#### Wordpress
https://github.com/StarWhiz/docker_deployment_notes/tree/master/wordpress
2020-08-26 21:11:04 +00:00
#### Rocket.chat
2020-10-16 23:25:50 +00:00
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