aboutsummaryrefslogtreecommitdiff
path: root/docker/start.sh
Commit message (Collapse)AuthorAge
* mod: bump gorm.io/driver/postgres from 1.4.5 to 1.4.6 (#7299)dependabot[bot]2023-01-07
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io>
* docker: check "/data" mount ownership before forcing it (#6553)Bo Lorentsen2022-03-11
| | | Co-authored-by: bl <bl@moch.dk>
* ci: use new lint action and add custom config (#6562)ᴜɴᴋɴᴡᴏɴ2021-05-19
|
* shellcheck: fix warnings (#6274)ᴜɴᴋɴᴡᴏɴ2020-08-23
| | | | | * Remove outdated files * Fix warnings
* docker: add scheduled backups with retention policy (#6140)Aleksandar Puharic2020-05-11
|
* docker: fix mkdir subdir in /data failed when no mount volume (#6107)eightpigs2020-04-15
|
* docker: fix the bug of using root to create /data/ directory (#6106)eightpigs2020-04-15
|
* Revert "docker: fix the bug of using root account to create `/d… (#6085)ᴜɴᴋɴᴡᴏɴ2020-04-10
| | | This reverts commit f3b05961aae82fa3e19c47f03c78974cf793fda3.
* docker: fix the bug of using root account to create `/data/*` directory (#6068)eightpigs2020-04-07
| | | | | * Fix the bug of using root account to create /data directory * Fix the bug that sshkey cannot be added in the container and remove unnecessary chown.
* docker: allow setting UID and GID when running a container (#4776)Robert Beal2017-10-13
| | | | | | * Allow setting the UID and GID when running a docker container via shadow * Disable password login via usermod (fix leaving user in insecure state)
* Add the ability to run crond inside the Docker containerJean-Philippe Roemer2016-02-12
| | | | | | | | - 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-16
|
* Add logging when socat link creation is deactivatedJean-Philippe Roemer2015-11-04
|
* Fix typo & cleanup start.sh codeJean-Philippe Roemer2015-11-04
|
* Add syslog & fix `/data/git` rights & SOCAT_LINK env varJean-Philippe Roemer2015-11-04
| | | | | | | - 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-21
| | | | | - Remove port 80 & 443 unused by the container - Add port 3000 used by gogs application
* Docker `socat` link creationJean-Philippe Roemer2015-10-21
| | | | | | | - `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-12
| | | | | | | | | - 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-10
| | | | | - Fix s6 fifodir error on container restart - Add .tags* to .gitignore (Atom auto ctags generation)
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-02
| | | | | | | | | | | - 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-02
| | | | | | | | | - 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-06
|
* some modify, I need to move my workenv to foreign county, network in china ↵codeskyblue2015-08-17
is so slow.