My server configuration without any secrets.
These instructions will get you a copy of the project up and running on your local machine for deployment purposes.
What things you need to install the software and how to install them
-
Add SSH Key from 1Password Backup (SSH-Key (Ed25519)) and place in
~/.ssh/
-
If not yet done, backup GPG Private key and place in
~/private.gpg
gpg --export-secret-keys --export-options export-backup --armor --output private.gpg jane.smith@email.com
- Download and run script from GitHub (repo: D3strukt0r/server-config, branch: master, path: bin/setup.sh)
wget -O - https://raw.githubusercontent.com/D3strukt0r/server-config/master/bin/setup.sh | bash
- Enter Git info:
- user.email: dev@d3strukt0r.me
- user.name: D3strukt0r
- user.signingkey: C9E5AB85364CA764!
- Login to Docker
- Username: d3strukt0r
- Password: Personal Access Token (PAT)
wget https://artifacts.elastic.co/cosign.pub
cosign verify --key cosign.pub docker.elastic.co/elasticsearch/elasticsearch:8.10.2
docker system prune
Following command backups all git ignored files (e.g. ./traefik/acme.json
)
git clean -dxn | sed 's/^Would remove \(.*\)/\1/g' | tar -czvf backup.tar.gz -T -
Following command restores all git ignored files (e.g. ./traefik/acme.json
)
tar -xzvf backup.tar.gz
Start and stop all services except fluentd which is started first and stopped last.
(cd fluentd && docker compose up -d)
for dir in $(ls -d */ | grep -v -E '^(\.git|\.github|backup|bin|fluentd)'); do
(cd $dir && docker compose up -d)
done
for dir in $(ls -d */ | grep -v -E '^(\.git|\.github|backup|bin|fluentd)'); do
(cd $dir && docker compose down)
done
(cd fluentd && docker compose down)
Please read CODE_OF_CONDUCT.md for details on our code of conduct, and CONTRIBUTING.md for the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
All the authors can be seen in the AUTHORS.md file.
Contributors can be seen in the CONTRIBUTORS.md file.
See also the full list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.txt file for details
A list of used libraries and code with their licenses can be seen in the ACKNOWLEDGMENTS.md file.