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.7' | |
| services: | |
| minio1: | |
| image: minio/minio:latest | |
| hostname: minio1 | |
| volumes: | |
| - /mnt/drive/minio:/export | |
| networks: | |
| - proxy |
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": "xBrowserSync_api", | |
| "hostname": "7d8549e34a6b", | |
| "pid": 1, | |
| "level": 50, | |
| "req": null, | |
| "err": { | |
| "message": "Authentication failed.", | |
| "name": "MongoError", | |
| "stack": "MongoError: Authentication failed.\n at MessageStream.messageHandler (/usr/src/api/node_modules/mongodb/lib/cmap/connection.js:268:20)\n at MessageStream.emit (events.js:315:20)\n at processIncomingData (/usr/src/api/node_modules/mongodb/lib/cmap/message_stream.js:144:12)\n at MessageStream._write (/usr/src/api/node_modules/mongodb/lib/cmap/message_stream.js:42:5)\n at writeOrBuffer (internal/streams/writable.js:358:12)\n at MessageStream.Writable.write (internal/streams/writable.js:303:10)\n at Socket.ondata (internal/streams/readable.js:719:22)\n at Socket.emit (events.js:315:20)\n at addChunk (internal/streams/readable.js:309:12)\n at readableAddChunk (internal/streams/readable.js:284:9)\n at Socket.Readable.push (internal/streams/readable.js:223:10)\n at TCP.onStreamRead (inter |
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
| # docker network create \ | |
| --driver=overlay \ | |
| --subnet=10.50.0.0/24 \ | |
| --ip-range=10.50.0.0/24 \ | |
| --gateway=10.50.0.1 \ | |
| --attechable \ | |
| proxy | |
| # docker stack deploy -c traefik-stack.yml traefik | |
| # docker stack deploy -c gitea-stack.yml gitea |
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
| http: | |
| #region routers | |
| routers: | |
| # proxmox: | |
| # entryPoints: | |
| # - "https" | |
| # rule: "Host(`proxmox.local.example.com`)" | |
| # middlewares: | |
| # - default-headers | |
| # tls: {} |
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' | |
| services: | |
| db: | |
| image: 'postgres:11-alpine' | |
| environment: | |
| - POSTGRES_DB: <user> | |
| - POSTGRES_PASSWORD: <password> | |
| - POSTGRES_USER: wikijs | |
| volumes: | |
| - 'db-data:/var/lib/postgresql/data' |
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
| #adding your own user to log in with | |
| export git_user=<user> | |
| export user_name=<user> | |
| adduser $user_name | |
| usermod -a -G adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,lxd $user_name | |
| mkdir /home/$user_name/.ssh | |
| wget -O - https://github.com/$git_user.keys >> /home/$user_name/.ssh/authorized_keys | |
| chown -R $user_name:$user_name /home/$user_name | |
| sudo apt update && sudo apt upgrade -y |
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
| { | |
| "level": "error", | |
| "ts": 1609429472.9153056, | |
| "logger": "tls.obtain", | |
| "msg": "will retry", | |
| "error": "[pihole.int] Obtain: [pihole.int] solving challenges: [pihole.int] authorization took too long (order=https://tinyca.int/acme/acme/order/Qp6sVbKrmjJQsAw7b1m9o54q31BPfv4u) (ca=https://tinyca.int/acme/acme/directory)", | |
| "attempt": 2, | |
| "retrying_in": 120, | |
| "elapsed": 660.531508497, | |
| "max_duration": 2592000 |
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
| Looks: Eyes: Trustworthy | |
| Face: Friendly | |
| Body: Thin | |
| Wear: Street | |
| Stats: | |
| Style: +2 | |
| Edge: +1 | |
| Meat: -1 | |
| Mind: +1 | |
| Cool: +0 |
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/sh | |
| JSON_LOC="/path/to/file.json" | |
| DNS_ZONE="myzone" | |
| DNS_RECORD="sub.example.com" | |
| TTL=300 | |
| CURRENT_RECORD_IP=$(dig +short $DNS_RECORD) | |
| CURRENT_IP=$(curl ifconfig.io/ip) | |
| if [ "$CURRENT_IP" = "$CURRENT_RECORD_IP" ] |
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
| 10.2.1.5 pihole.in.conlon.dev |