ssh student@192.168.30.10
sudo apt update
sudo apt install docker docker-compose -y
sudo su
usermod -aG docker student
reboot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| # --- DNS Server --- | |
| technitium: | |
| image: technitium/dns-server:latest | |
| container_name: technitium-dns | |
| hostname: technitium-dns | |
| ports: | |
| - "53:53/udp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # --- PRE-SETUP --- | |
| echo "Membersihkan konfigurasi lama..." | |
| docker-compose down 2>/dev/null | |
| # Menghapus database lama agar fresh install | |
| sudo rm -rf ./zabbix/db_data | |
| # 1. Buat struktur folder yang dibutuhkan | |
| echo "Membuat folder project..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["v*.*.*"] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
OlderNewer