I hereby claim:
- I am gamma on github.
- I am gamma (https://keybase.io/gamma) on keybase.
- I have a public key whose fingerprint is 37F1 7233 0AC5 EC85 9B28 5EE7 9547 1032 7DBC FDD4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Verifying myself: My Bitcoin username is +gammaproduction. https://onename.io/gammaproduction |
| version: "2.0" | |
| services: | |
| dwarffortress: | |
| container_name: dwarffortress | |
| image: 'mifki/dfremote' | |
| restart: always | |
| tty: true | |
| ports: | |
| - 1235:1235/udp | |
| volumes: |
Note: This originates from: https://forum.synology.com/enu/viewtopic.php?f=258&t=107508&sid=78d911737c5ecea1f9087bdab13612bf&start=15#p478281
Here are steps that I have modified to work for me. This assumes you have a shared folder named "docker" in volume1.
We need to Symlink /var/run/docker.sock to /volume1/docker/docker.sock, because Synology Docker GUI will not be able to run it when it's pointed directly to /var/run/docker.sock. Also the symlink needs to persist after reboot. To make it do so, you will need to create an automated task in your Synology DSM via "Task Scheduler".
| #!/bin/bash | |
| # Use the command line arguments as input. Each argument is a service. | |
| SERVICE_LIST=`echo "$@" | tr ' ' '\n'` | |
| if [ -z "${SERVICE_LIST[@]}" ]; then | |
| SERVICE_LIST=`docker-compose config --services` | |
| fi | |
| # Check for all services in the compose file, scale them to "two" | |
| echo "+++++++++++++++++++++++++" |
| #!/bin/bash | |
| USER="$1" | |
| PASS="$2" | |
| BASE="https://epaper.maz-online.de" | |
| LOGIN=$(curl -v $BASE 2>&1) | |
| COOKIE=$(echo "$LOGIN" | grep "Set-Cookie" | tail -n 1 | awk '{print $3}') | |
| TOKEN=$(echo "$LOGIN" | grep "token" | awk -F\" '{print $6}') |
| # cat > /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gradle4.rb | |
| # brew install --build-from-source gradle4 | |
| class Gradle4 < Formula | |
| desc "Open-source build automation tool based on the Groovy and Kotlin DSL" | |
| homepage "https://www.gradle.org/" | |
| url "https://services.gradle.org/distributions/gradle-4.10.3-all.zip" | |
| sha256 "336b6898b491f6334502d8074a6b8c2d73ed83b92123106bd4bf837f04111043" | |
| # not needed in newer gradle releases | |
| # bottle :unneeded |
| function isodump { | |
| FILE=$1 | |
| DISK=$2 | |
| if [ -z "$FILE" ] || [ -z "$DISK" ] ; then | |
| echo "Usage: isodump <ISO File> <DEVICE>" | |
| return 128 | |
| fi |
| # cat > /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gradle@6.rb | |
| class GradleAT6 < Formula | |
| desc "Open-source build automation tool based on the Groovy and Kotlin DSL" | |
| homepage "https://www.gradle.org/" | |
| url "https://services.gradle.org/distributions/gradle-6.9.1-all.zip" | |
| sha256 "b13f5d97f08000996bf12d9dd70af3f2c6b694c2c663ab1b545e9695562ad1ee" | |
| license "Apache-2.0" | |
| bottle do | |
| sha256 cellar: :any_skip_relocation, x86_64_linux: "fd167292281521adf832093bbc0485f5a03e82c9962039f54f12e59d0d2dce1b" |