Skip to content

A simple docker-compose based configuration to run shared services used by other docker-compose configurations.

License

Notifications You must be signed in to change notification settings

thinkonezero/services-docker-standup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAS Services Docker Standup


This is a simple docker-compose configuration to run some base services on a Synology NAS.

Services

Install Instructions

Prerequisites

Server Configuration

  1. Setup Synology NAS and install DSM
  2. Install Docker via Add-on Packages
  3. Add the SynoCommunity package source via easy install
  4. Install Git package from SynoCommunity
  5. Enable SSH Access
  6. Create Docker Group and Add User
- create the group "docker" from the ui or cli (sudo synogroup --add docker)
- make it the group of the docker.sock: sudo chown root:docker /var/run/docker.sock
- assign the user to the docker group in the ui or cli (sudo synogroup --member docker {username})
- login into ssh as {username} and try (if you were already logged in before you created the group, logout and relogin)
  1. Make sure DSM isn't using 80/443 with guide

Make a scheduled task of those commands

  1. Clone Repo git clone https://gitlab.com/thinkonezero/services-docker-standup.git
  2. Copy Sample Environement File cp sample.env .env
  3. Edit .env to match your environment
  4. Run Docker Environment docker-compose up -d
  5. ???
  6. Profit.

Environment File

LOCALUSER=
HOSTNAME=
PUID=
PGID=
TZ=
LOG_FILE_NUM=5
LOG_FILE_SIZE=10m
LOCAL_DOMAIN=
CLOUDFLARED_TOKEN=
STACK_NAME=
BASE_DOCKER_PATH=/volume1/docker
SMTP_SERVER=mail.example.com
SMTP_PORT=587
SMTP_LOGIN=
SMTP_PASSWORD=
SMTP_FROM_ADDRESS=notifications@example.com
WATCHTOWER_NOTIFICATIONS=email
WATCHTOWER_NOTIFICATION_EMAIL_TO=me@example.com
PORTAINER_PORT=9000
SPEEDTEST_PORT=8080
SPEEDTEST_APP_KEY=
SPEEDTEST_APP_URL=
SPEEDTEST_ASSET_URL=
SPEEDTEST_SCHEDULE=6 */2 * * *

Email/SMTP Service


Tips and Tricks


If this project has helped you in anyway, and you'd like to say thanks...

Donate

AFFILIATE DISCLOSURE: You can also support this project by purchasing a VPN Subscription via one of the links in this README.


Disclaimer

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 OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple docker-compose based configuration to run shared services used by other docker-compose configurations.

Resources

License

Stars

Watchers

Forks