Code Monkey home page Code Monkey logo

docker-satis's Introduction

πŸš€ Devops and Fullstack web developer πŸš€

  • πŸ”₯ πŸ”₯πŸ”₯ GCP, terraform, terramate, kubernetes, k9s πŸ”₯πŸ”₯πŸ”₯
  • 🌈 Working on CI/CD automation, monitoring and alerting, Mysql Replication, micro services,...
  • πŸš’ Using Ansible, Docker, Swarm, gitlab, RabbitMQ, ELK, Grafana, Prometheus, Symfony, API, graphQL, NodeJs and VueJS.
  • πŸ‡«πŸ‡· France > DrΓ΄me > Valence
  • 🐒 INSA Lyon Engineer

Passions

  • πŸ’» My Job
  • 🚲 Mountain bike
  • πŸͺ Cooking

docker-satis's People

Contributors

bkuhl avatar bobey avatar jdecool avatar mash1t avatar mitch10593 avatar pataar avatar thomasleveil avatar ypereirareis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-satis's Issues

Persist Satis build

Hi There,

Looking at getting this setup for our dev environment, but can't see how to persist the satis builds so that they survive docker restarts?

Cheers

CRONTAB_FREQUENCY won't work

CRONTAB_FREQUENCY won't effect on /etc/cron.d/satis-cron because you are overwriting it on line 68 of /app/scripts/startup.sh just after injecting CRONTAB_FREQUENCY on line 57

config.json not writeable

Adding a repo to satis through the admin interface returns two exceptions :
IOException in FilePersister.php line 117: Path "/app/config.json" is not writeable.
and
RuntimeException in FilePersister.php line 82: Unable to persist the data to "/app/config.json"
The file is set through a volume with : ./data/config/config.json:/app/config.json:rwand if I edit it on the host or in the docker container, in can see the changes both way.
Why isn't it writeable through satisfy ? rights conflicts between www-data and root ?

Cron

Hi,

The install runs the build before the crontab is updated. If the build takes a long time then the default cron will rerun the build many times in parallel. I moved the setting of the cron prior to the first build to address this. Thanks for your work.

Image size optimization

  • RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    • apt-get install --no-install-recommends
    • Composer update outsite of the image => startup.sh script

Doesn't seem to work for me

Docker compose file as follows:

satis:
    image: ypereirareis/docker-satis:4.2
    ports:
        - 8888:3000
        - 5000:80

@ port 5000, satis looks good.
@ port 8888 I get Cannot GET /

Same for requesting /admin - Cannot GET /admin

SSH key too open

Launching the startup script manually returns an error :
Permissions 0754 for '/root/.ssh/id_rsa' are too open.
The file is set with a chmod 600 on the host.

Ubuntu 15.10 EOL, update image to 16.04 or 18.04

The current image uses Ubuntu 15.10 as a base, which has been EOL since July 28, 2016.

Updating this to 16.04 or 18.04 does require either adding ppa:ondrej/php repo to apt (This drops support for php-apc though since this does not seem available anymore for PHP 5.6), or switching to php7.

I didn't test what switching PHP versions would do, but either solution makes sure that at least the OS is still supported for a while to come.

Build problem with --force-yes

E: There are problems and -y was used without --force-yes
Service 'satis' failed to build: The command [/bin/sh -c apt-get install -y nginx] returned a non-zero code: 100

SSH question for a multi-container load operation (docker-compose).

Hello and first thanks for share that work.
Here my case, i installed gitlab with docker from the repository sameersbn/docker-gitlab, it's work well. I added satis container parameters on the given compose file. But i can't understand how does ssh work in your scenario, in the doc it's say that "The container needs to know the ssh key you added in your private repo." so we speak about a Public key, so id_rsa.pub is'nt it ?
Other thing, i don't know if with docker 1.9.1 with consideration of the gitlab compose file and the use of "links" parameter i need to add another one in satis section even if i put in PRIVATE_REPO_DOMAIN_LIST env the IP address of my gitlab container.

Gitlab-Token use for Satis.

Satis is working with 1.2.2 composer version, but gitlab-token appear in 1.3, your startup script must update composer composer update composer/composer before starting server as so the user may enter Gitlab-token section in config.json to work with Gitlab.

build.sh require hg installed

satis_1    |  >> Building Satis for the first time
satis_1    | Scanning packages
satis_1    | 
satis_1    | 
satis_1    |                                                                                                                         
satis_1    |   [RuntimeException]                                                                                                    
satis_1    |   Failed to clone http://example.com/repo, hg was not found, check that it is installed and in your PATH env.  
satis_1    |   sh: 1: hg: not found  

403 error

Using the latest version of the docker image, satis returns a 403 error. It seems like Supervisor is not launched at startup.
I would gladly provide more infos if you could tell me where to find them.

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.