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:
|
|
|
|
<img src="https://test.lermer.nl/afb/Netwerk.svg">
|
2020-11-03 08:23:40 +01:00
|
|
|
<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/
|
2020-10-28 14:17:18 +01:00
|
|
|
- Hier heb ik mijn meeste docker containers vandaan: https://fleet.linuxserver.io/<br />
|
|
|
|
- Huidige status van mijn server: http://uptime.lermer.nl/<br />
|
|
|
|
- Om docker containers om te zetten naar docker-compose: https://www.composerize.com/
|
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-10-28 14:17:18 +01:00
|
|
|
- Alle containers weergeven: ```docker ps -a```<br />
|
|
|
|
- container stoppen```docker container stop xx```<br />
|
|
|
|
- container verwijderen```docker container rm xx```<br />
|
2020-10-28 14:01:28 +01:00
|
|
|
|
|
|
|
### Opschonen:
|
2020-10-28 14:17:18 +01:00
|
|
|
- ```docker system prune -a``` <br />
|
|
|
|
- ```docker network prune``` <br />
|
2020-10-28 14:01:28 +01:00
|
|
|
|
|
|
|
### Bash:
|
|
|
|
```docker exec -it xxxx bash```<br />
|
|
|
|
|
|
|
|
## Docker-compose:
|
2020-10-28 14:17:18 +01:00
|
|
|
- stoppen: ```docker-compose stop```<br />
|
|
|
|
- Downloaden: ```docker-compose pull```<br />
|
|
|
|
- Build Normaal: ```docker-compose up -d```<br />
|
|
|
|
- Build Lokaal: ```docker-compose build --pull```<br />
|