summaryrefslogtreecommitdiffstats
path: root/docker/s6
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to run crond inside the Docker containerJean-Philippe Roemer2016-02-122-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
* Remove RSA1 keys as only SSH version 2 is usedIvan Marban2016-01-061-4/+0
|
* Add syslog & fix `/data/git` rights & SOCAT_LINK env varJean-Philippe Roemer2015-11-043-1/+10
| | | | | | | - 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)
* Fix bug introduced in #1759 preventing ssh server to launchJean-Philippe Roemer2015-10-121-5/+5
| | | | | | | - ssh/setup: test directive now check if a file exist in key path instead of a folder - ssh/setup script was hanging waiting for an input about rewriting the key as the test case was returning true, when it should have been false (check if file is a folder instead of a file)
* Edit comment to make it clear that we are talking about container versionJean-Philippe Roemer2015-10-121-1/+1
|
* Docker repository path backward compatibility fix:Jean-Philippe Roemer2015-10-121-0/+4
| | | | | - resolve #1765 - create link to old git repository path: `/home/git/gogs-repository`
* Volumed data setup changed to allow #1759Jean-Philippe Roemer2015-10-122-9/+19
| | | | | | | | | - 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-1/+4
| | | | | - Fix s6 fifodir error on container restart - Add .tags* to .gitignore (Atom auto ctags generation)
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-024-31/+39
| | | | | | | | | | | - 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
* Several bugfixes in Docker buildÓscar García Amor2015-10-021-8/+6
| | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* Use app/docker folder for SSH ConfigureationJean-Philippe Roemer2015-10-021-1/+1
|
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-023-0/+45
- 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