I hereby claim:
- I am DerEnderKeks on github.
- I am derenderkeks (https://keybase.io/derenderkeks) on keybase.
- I have a public key whose fingerprint is F90B B31F 042C EC81 480C 2A38 059C 8498 1DEE BA18
To claim this, I am signing this object:
[Unit] | |
Description=Yanius | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Restart=always | |
ExecStart=/usr/local/bin/docker-compose -f /opt/Yanius/docker-compose.yml up | |
ExecStop=/usr/local/bin/docker-compose -f /opt/Yanius/docker-compose.yml stop |
FROM node:6.7 | |
# Create app directory | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
# Install app dependencies | |
COPY package.json /usr/src/app/ | |
RUN npm install |
version: '3' | |
services: | |
web: | |
build: . | |
ports: | |
- "56792:56792" | |
volumes: | |
- ./upload:/usr/src/app/upload | |
- ./config:/usr/src/app/config | |
db: |
{ | |
"Name": "Yanius", | |
"RequestType": "POST", | |
"RequestURL": "http(s)://your.domain/api/upload", | |
"FileFormName": "file", | |
"Arguments": { | |
"apikey": "<your api key>" | |
}, | |
"ResponseType": "Text", | |
"URL": "$json:url$" |
#!/bin/bash | |
# LICENSE | |
# The MIT License (MIT) | |
# Copyright (c) 2017 DerEnderKeks | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT |
I hereby claim:
To claim this, I am signing this object: