2020-10-28 16:23:03 +01:00
|
|
|
# Mijn server
|
2020-11-02 16:19:10 +01:00
|
|
|
Deze repo is een uitleg van mijn thuis server setup.
|
2020-10-28 14:01:28 +01:00
|
|
|
|
2020-11-02 16:19:10 +01:00
|
|
|
# Mijn netwerk overzicht:
|
2020-11-13 14:06:56 +01:00
|
|
|
<img src="https://cdn.lermer.nl/afb/Netwerk.svg">
|
2020-11-03 08:25:02 +01:00
|
|
|
<br><br>
|
2020-10-28 14:01:28 +01:00
|
|
|
|
2020-11-02 16:19:10 +01:00
|
|
|
# Handige Links:
|
2020-10-28 15:18:16 +01:00
|
|
|
- Op Debian gebaseerd besturingssysteem: https://www.openmediavault.org/
|
2021-06-20 20:58:11 +02:00
|
|
|
- Hier heb ik mijn meeste docker containers vandaan: https://fleet.linuxserver.io/<br />
|
2021-06-20 21:03:50 +02:00
|
|
|
- Huidige status van mijn server: https://stats.uptimerobot.com/6YYNlSoAEv<br />
|
2020-10-28 14:17:18 +01:00
|
|
|
- Om docker containers om te zetten naar docker-compose: https://www.composerize.com/
|
2021-03-11 16:16:31 +01:00
|
|
|
- Portainer app templates: https://raw.githubusercontent.com/dnburgess/dbtechtemplate/master/Template/v2/templates.json
|
2020-10-28 14:01:28 +01:00
|
|
|
|
2020-11-02 16:06:38 +01:00
|
|
|
# Handig:
|
2020-10-28 14:01:28 +01:00
|
|
|
external ip check: ```curl ipinfo.io```
|
|
|
|
|
|
|
|
# Docker tips:
|
|
|
|
|
2020-11-03 08:25:02 +01:00
|
|
|
- Alle containers weergeven: ```docker ps -a```
|
|
|
|
- container stoppen```docker container stop xx```
|
|
|
|
- container verwijderen```docker container rm xx```
|
2020-10-28 14:01:28 +01:00
|
|
|
|
|
|
|
### Opschonen:
|
2020-11-03 08:25:02 +01:00
|
|
|
- ```docker system prune -a```
|
|
|
|
- ```docker network prune```
|
2020-10-28 14:01:28 +01:00
|
|
|
|
|
|
|
### Bash:
|
2020-11-03 08:25:02 +01:00
|
|
|
```docker exec -it xxxx bash```
|
2020-10-28 14:01:28 +01:00
|
|
|
|
|
|
|
## Docker-compose:
|
2020-11-03 08:25:02 +01:00
|
|
|
- stoppen: ```docker-compose stop```
|
|
|
|
- Downloaden: ```docker-compose pull```
|
|
|
|
- Build Normaal: ```docker-compose up -d```
|
|
|
|
- Build Lokaal: ```docker-compose build --pull```
|