Comments (10)
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.
Yh to run this in docker:
- Create a Redis container (eg name
redisio
) - Create a Mongodb container (eg name
mongodb
) - 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. - 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.
Does this solve your issue, @Red5d?
from semaphore.
Yes, thank you!
from semaphore.
Just FYI you should be able to handle the entire orchestration with fig / Docker compose (https://docs.docker.com/compose/)
from semaphore.
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.
Reopened as the docker image doesn't work properly
from semaphore.
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.
This will definitely be fixed.
Seems like a similar issue to #20
from semaphore.
Closed with #20
from semaphore.
Related Issues (20)
- Snap package's internal ansible never upgrades.
- Problem: ansible-semaphore-9.5.0 2.10 - bad boolean environment value '0
- Feature: Allow specifying differenct Credentials for Inventory Git Repos
- Feature: Please add a way to import an external RootCA for LDAPS for Docker
- Question: Why ssh: [email protected]: Permission denied . can't change to another user to run bash script? HOT 1
- Question: How do I access Key Store Keys in a playbook?
- Feature: export function for task logs
- Problem: After Update to 2.10.7 no templates run with Error Message HOT 4
- Problem: Inventory not cloning HOT 3
- Cron is Broken - v2.10.7-6bcf476-1718821016
- Feature: Placement of STOP BUTTON
- Problem: Failed to install inventory: parsing private key: ssh: no key found HOT 4
- Problem: Task Templates no longer working after update HOT 3
- Page "Task Templates" takes forever to load. HOT 4
- Problem: RERUN is not working when using an inventory from a git repo HOT 2
- Question: why bash script run default user root. can change to another user to run bash scripts? HOT 1
- Problem: Runner does not handle error if it cannot write its config_file
- Feature: Ansible Vault on UI
- Dynamic inventory ansible playbook cannot get hosts value HOT 2
- Problem: Unable to acces new Schedule page. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semaphore.