GithubHelp home page GithubHelp logo

Docker image? about semaphore HOT 10 CLOSED

Red5d avatar Red5d commented on July 3, 2024 1
Docker image?

from semaphore.

Comments (10)

matejkramny avatar matejkramny commented on July 3, 2024

Should be possible via https://github.com/castawaylabs/node-docker repo..I'll try this tonight, and make it work if it doesn't.
Thanks,
Matej Kramny

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Yh to run this in docker:

  1. Create a Redis container (eg name redisio)
  2. Create a Mongodb container (eg name mongodb)
  3. Clone semaphore, set up lib/credentials.json (copy https://github.com/ansible-semaphore/semaphore/blob/master/lib/credentials.example.json). Set the mongo and redis host accordingly.
  4. Run Semaphore in https://github.com/castawaylabs/node-docker

Example:

docker run -d \
  --name semaphore \
  -p 8080:80 \
  -e "NODE_ENV=production" -e "PORT=80" \
  -v /wherever/semaphore/is:/srv/app \
  --link redisio:redis --link mongodb:mongo \
  castawaylabs/node-docker

A Dockerfile in this repo would be potentially more helpful and easier to get started with though. PR's welcome :)

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Does this solve your issue, @Red5d?

from semaphore.

Red5d avatar Red5d commented on July 3, 2024

Yes, thank you!

from semaphore.

andrewcstewart avatar andrewcstewart commented on July 3, 2024

Just FYI you should be able to handle the entire orchestration with fig / Docker compose (https://docs.docker.com/compose/)

from semaphore.

bibby avatar bibby commented on July 3, 2024

The Docker image doesn't contain ansible. The runner depends on this.
Edit: iojs is debian:jessie based, so the following can install ansible 1.7

RUN apt-get update
RUN apt-get install -y ansible

Any greater ansible version and it gets trickier.
Ansible has official docker images, but they are based on ubuntu:14.04 and centos:7

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Reopened as the docker image doesn't work properly

from semaphore.

ashish235 avatar ashish235 commented on July 3, 2024

I used the docker images to install, but I 'm not getting anything on the GUI except "Loading...".

Logs from the semaphore container:

app.js:110 Semaphore listening on port 80
app.js:47 Mongodb connection established
config.js:67 Creating Admin user [email protected]!
::ffff:172.16.100.71 - - [15/Apr/2015:11:32:29 +0000] "GET / HTTP/1.1" 200 890 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
::ffff:172.16.100.71 - - [15/Apr/2015:11:32:29 +0000] "GET /vendor/requirejs/require.js HTTP/1.1" 200 890 "http://172.16.131.252/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
LESS File error : '../vendor/fontawesome/less/font-awesome.less' wasn't found. Tried - /srv/semaphore/public/vendor/fontawesome/less/font-awesome.less,../vendor/fontawesome/less/font-awesome.less
LESS File : /srv/semaphore/public/css/semaphore.less 13:0
Error: '../vendor/fontawesome/less/font-awesome.less' wasn't found. Tried - /srv/semaphore/public/vendor/fontawesome/less/font-awesome.less,../vendor/fontawesome/less/font-awesome.less
::ffff:172.16.100.71 - - [15/Apr/2015:11:32:29 +0000] "GET /favicon.ico HTTP/1.1" 200 890 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
::ffff:172.16.100.71 - - [15/Apr/2015:11:32:29 +0000] "GET /favicon.ico HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"

Kindly fix as I was really excited to find this tool which can replace ansible-tower for me.

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

This will definitely be fixed.

Seems like a similar issue to #20

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Closed with #20

from semaphore.

Related Issues (20)

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.