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

1.5 KiB

Order of Deployment

Most commonly used commands

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

Commonly added to docker-compose.yml files


### Commonly Added
services:
  exampleapp:
    container_name: NameForCaddyRevProxy
    restart: unless-stopped

### The Caddy Network
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
}

Application Specific Deployments

Seafile

https://github.com/StarWhiz/docker_deployment_notes/tree/master/seafile

Wordpress

https://github.com/StarWhiz/docker_deployment_notes/tree/master/wordpress

Rocket.chat

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