Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elwinehlers/docker-portainer-yml
Homelab yml files
https://github.com/elwinehlers/docker-portainer-yml
cloud docker homelab portainer-ce yml-files
Last synced: about 2 months ago
JSON representation
Homelab yml files
- Host: GitHub
- URL: https://github.com/elwinehlers/docker-portainer-yml
- Owner: ElwinEhlers
- Created: 2023-12-05T22:28:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T13:28:25.000Z (4 months ago)
- Last Synced: 2024-09-14T04:00:20.754Z (4 months ago)
- Topics: cloud, docker, homelab, portainer-ce, yml-files
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to run your own Homelab via Portainer on a Debian machine.
# yml files for a Homelab
When you have installed a new Debian and you will run your web applications via Docker follow the next steps.
The web applications can be setup via Portainer.
For the setup of the web applications I will share my X.yml files with you.
Those can be used to create a stack, a comfortable way to apply your Docker applications under Portainer.```html
apt-get update && apt-get upgrade
```
```html
apt install sudo wget curl htop sudo git mc
```
```html
adduser docker
```
User privilege specification add like here the user docker
```html
visudo
```
root ALL=(ALL:ALL) ALL
docker ALL=(ALL:ALL) ALL
```html
usermod -aG sudo docker
```
```html
su docker
```
Install now Docker with the install script from https://github.com/docker/docker-install. In this way you get also the latest version of compose.
```html
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
```
```html
cd /home/docker
```
Visit here also to see the next steps. https://docs.portainer.io/start/install-ce/server/docker/linux
```html
docker volume create portainer_data
```
Create a network 'proxy' to make all available in the net.
```html
sudo docker network create proxy
```
```html
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
```
```html
id
```
show your ID: uid=1000(docker) gid=1000(docker) groups=1000(docker),27(sudo),100(users)Now it is time for the nginx-reserve-proxy to grab the upcoming services and here you will use the first data.yml