Giter Site home page Giter Site logo

compose-on-unraid's Introduction

Overview

This is a simple documentation site detailing how to use docker-compose on unRAID.

It's currently (temporarily) hosted at https://unraid.kushan.fyi/

Building and running locally

This site is buit using Hugo using the Learn theme.

To build it and run it locally, install Hugo on your machine, clone thise code and run hugo serve.

Easy peasy!

compose-on-unraid's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

compose-on-unraid's Issues

A guide on using docker-compose from user scripts

first thing, thanks for doing this write up, been using docker-compose for years and its great to get new users onto it, as it has its place in unraid to create more complex stacks.

Appreciate this might be a long shot, but for the life of me can i get "user scripts" plugin to execute a docker-compose commands, just says command not found each blooming time.

How do you get your docker-compose containers to start on array start is it even possible in unraid?

I have to manually do docker-compose down when the array has rebooted (say in event of power outage or i forgot to do this before i shut the server down. then I have to docker-compose up -d each time it starts, pain in the neck.

I have created a few docker-compose user scripts, very basic which basically down/up depending on array status. But as i said above, it just fails with the following:

Script location: /tmp/user.scripts/tmpScripts/test compose/script
Note that closing this window will abort the execution of this script
Changed to appdata directory
sudo: docker-compose: command not found

Script looks as follows:

#!/bin/bash

##Bring up Proxy manager
cd /mnt/user/appdata
echo "Changed to appdata directory"
sudo docker-compose up

If I just create this as a, for example testscript.sh and stick it in my appdata directory, and then do sh testscript.sh runs with no issues as you'd expect. really odd!

If there is a way to do this, it would ace to have a guide for this, as I googled this for months and have not been able to find anything.

Can someone use docker compose and Unraid "template-docker-containers" simulatensously?

For context, please refer to this section of your site:
https://unraid.kushan.fyi/overview/benefits/#no-reliance-on-templates

I use docker-compose on a plain Ubuntu server, but I'm considering trying to run my Docker compose containers directly on Unraid. I'm pretty sure there would be no issues with using the "regular" Unraid method of docker containers (i.e. pulling templates from the community applications) in conjunction with using docker-compose based containers?

It might be good to clarify that someone can still use templates with some containers and use docker-compose for other containers. Unless of course I have gotten this mixed up, then maybe clarify that it is a one or the other choice.

Thanks for making this site, its a great contribution to the community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.