Fix initial commit.

This commit is contained in:
Hyperling 2022-08-06 08:11:04 -05:00
parent 81794adb20
commit 027ca736a2
3 changed files with 5 additions and 15 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# Ignore everything in Volumes, it is large and private data.
Volumes/*

View File

@ -1,15 +0,0 @@
# My Docker Setup
Decided to organize and script my way into the Docker world.
Was unable to find a good tutorial on using and managing containers so this is what made sense to me based on Docker-Compose.
## How To Use
`git clone https://github.com/hyperling/docker /opt/Docker`
## Config
Compose projects are set up here. Each folder should have a docker-compose.yml file set up.
## Volumes
The data of the files go here if the Config is done correctly.
I think this should be easier to remember than /var/lib/docker/volumes when it comes time for migrations.
Hopefully all that's needed is to rsync /opt/Docker and run start.sh on the new server.
That's my opinion though, if someone else uses this then they can use /var/.

3
source.env Normal file
View File

@ -0,0 +1,3 @@
DOCKER_HOME=/opt/Docker
DOCKER_PATH=$DOCKER_HOME/bin
PATH=$PATH:$DOCKER_PATH