Add docker-data/ and related stuff
This commit is contained in:
parent
3dce030740
commit
51867cdb60
5 changed files with 67 additions and 4 deletions
10
README.md
10
README.md
|
@ -4,7 +4,7 @@ This is a simple program to manage docker containers. It works similarly to Umbr
|
||||||
|
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
- **Note:** All scrips must be run in the same directory as the `.config` file.
|
- **Note:** All scrips must be run in the same directory as the `docker-composer.conf` file.
|
||||||
- If you want to re-compose your containers on boot, you can run `composer.py` on boot
|
- If you want to re-compose your containers on boot, you can run `composer.py` on boot
|
||||||
- If you want to re-compose your containers on demand, you can run `re_compose.py` manually
|
- If you want to re-compose your containers on demand, you can run `re_compose.py` manually
|
||||||
- If you just want to do basic management, like stopping, starting, removing docker containers, etc, then use `basic-management.py`. It's essentially an interactive wrapper for the basics of docker.
|
- If you just want to do basic management, like stopping, starting, removing docker containers, etc, then use `basic-management.py`. It's essentially an interactive wrapper for the basics of docker.
|
||||||
|
@ -14,13 +14,19 @@ This is a simple program to manage docker containers. It works similarly to Umbr
|
||||||
|
|
||||||
I'll get to this later once this program is actually usable.
|
I'll get to this later once this program is actually usable.
|
||||||
|
|
||||||
|
You can use `docker-data/` to test the program, or can put your own data there. `docker-composer.conf` is already set up to use that directory!
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
.config parameters:
|
`docker-composer.conf` parameters:
|
||||||
- `compose-path`: The path to the folder containing the folders for each docker container - the folder for each container includes a `docker-compose.yml` file.
|
- `compose-path`: The path to the folder containing the folders for each docker container - the folder for each container includes a `docker-compose.yml` file.
|
||||||
|
- **If you use relative paths**, use the folder you're in as `/`. For example, using the folder `docker-data` would be either `/docker-data` or `/path/to/this/repo/docker-data`. You can also have a "/" on the end of those paths, if you'd like; it's not required.
|
||||||
- `exclude-containers`: A list of containers to exclude from being managed by the program. This will stop the program from doing **anything** to those containers.
|
- `exclude-containers`: A list of containers to exclude from being managed by the program. This will stop the program from doing **anything** to those containers.
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
- The folders *must* have the same name as their respective docker containers
|
||||||
|
|
||||||
|
|
||||||
## Dev Notes
|
## Dev Notes
|
||||||
- Maybe later expand this to an interactive docker manager.
|
- Maybe later expand this to an interactive docker manager.
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
compose-path=/path/to/docker-container-folders/that-contain-docker-compose.yml
|
compose-path=/docker-data/
|
||||||
exclude-containers=hello,there,random-person
|
exclude-containers=pihole
|
24
docker-data/pihole/docker-compose.yml
Normal file
24
docker-data/pihole/docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
||||||
|
ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
||||||
|
- "80:80/tcp"
|
||||||
|
environment:
|
||||||
|
TZ: 'America/Chicago'
|
||||||
|
# WEBPASSWORD: 'set a secure password here or it will be random'
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- './etc-pihole:/etc/pihole'
|
||||||
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||||
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
||||||
|
restart: unless-stopped
|
19
docker-data/transmission/docker-compose.yml
Normal file
19
docker-data/transmission/docker-compose.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
transmission:
|
||||||
|
image: lscr.io/linuxserver/transmission:latest
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/London
|
||||||
|
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
|
||||||
|
volumes:
|
||||||
|
- ./data:/config
|
||||||
|
- ./downloads:/downloads
|
||||||
|
- ./watch:/watch
|
||||||
|
ports:
|
||||||
|
- 9091:9091
|
||||||
|
- 51413:51413
|
||||||
|
- 51413:51413/udp
|
||||||
|
restart: unless-stopped
|
14
docker-data/wg-easy/docker-compose.yml
Normal file
14
docker-data/wg-easy/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
wg-easy:
|
||||||
|
container_name: wg-easy
|
||||||
|
environment:
|
||||||
|
- WG_HOST=localhost
|
||||||
|
- PASSWORD=password
|
||||||
|
volumes:
|
||||||
|
- '~/.wg-easy:/etc/wireguard'
|
||||||
|
ports:
|
||||||
|
- '51820:51820/udp'
|
||||||
|
- '51821:51821/tcp'
|
||||||
|
restart: unless-stopped
|
||||||
|
image: weejewel/wg-easy
|
Loading…
Reference in a new issue