summaryrefslogtreecommitdiffstats
path: root/docker/start.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to run crond inside the Docker containerJean-Philippe Roemer2016-02-121-0/+9
| | | | | | | | - Add the crond init script for s6 - Add the RUN_CROND configuration variable to setup crond - Crond will not be run by default (hence the `down` file in the service directory) - `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript - Resolves #2597
* Update s6 path following package updateJean-Philippe Roemer2015-11-161-1/+1
|
* Add logging when socat link creation is deactivatedJean-Philippe Roemer2015-11-041-3/+5
|
* Fix typo & cleanup start.sh codeJean-Philippe Roemer2015-11-041-17/+26
|
* Add syslog & fix `/data/git` rights & SOCAT_LINK env varJean-Philippe Roemer2015-11-041-18/+23
| | | | | | | - Resolve #1893 - Add syslogd to output sshd log on stdout (via `docker logs`) - Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh` - Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815)
* Docker socat link: default port fixJean-Philippe Roemer2015-10-211-1/+1
| | | | | - Remove port 80 & 443 unused by the container - Add port 3000 used by gogs application
* Docker `socat` link creationJean-Philippe Roemer2015-10-211-6/+18
| | | | | | | - `start.sh` will now verify that the port is not already used by another service - Resolve #1807 - Log when a service is created, or could not be created - Keep track of which port is already used, including goes & sshd port
* Volumed data setup changed to allow #1759Jean-Philippe Roemer2015-10-121-0/+7
| | | | | | | | | - Volumed subfolder now created up in the ENTRYPOINT script, this way they are created before S6 even starts making VOLUME. - The subfolder will be created during VOLUME creation too as ENTRYPOINT script will be run before /bin/true - SSH Keys will now be created on a single key basis not replying on the existence of /data/ssh folder
* Docker Container Restart FixJean-Philippe Roemer2015-10-101-3/+8
| | | | | - Fix s6 fifodir error on container restart - Add .tags* to .gitignore (Atom auto ctags generation)
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-021-2/+6
| | | | | | | | | | | - Now using a setup script before starting the app. The separation of the run script and the setup script will make service initialisation a little bit clearer - Now calling start.sh script as ENTRYPOINT and S6 as CMD. This way when running the container with just a shell script, the start.sh script will be launched before, making debugging easier - Added note about `.dockerignore` ignored during Docker Hub Automated Build
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-021-43/+12
| | | | | | | | | - VOLUME for ‘/data’ - Usage of S6 as PID 1 Process - Usage of ‘socat’ so linked container (like databases) are binded to localhost - OpenSSH, Socat Link and Gogs are supervised using S6 - Size of container reduced to ~75Mo
* remove rsyncUnknwon2015-09-061-4/+0
|
* some modify, I need to move my workenv to foreign county, network in china ↵codeskyblue2015-08-171-0/+47
is so slow.