aboutsummaryrefslogtreecommitdiff
path: root/docker/s6/gogs
Commit message (Collapse)AuthorAge
* 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: 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: check "/app/gogs" separately on startup (#5895)Achilleas Koutsou2020-01-23
| | | | | | | | When running gogs after the first time, if the image has changed (update rebuild), the /app/gogs directory will have changed owner back to root:root, but /data will likely not be since the data directories are likely to be persistent. Checking /app/gogs separately fixes this.
* docker: change how to check whether initial or not (#5766)Atsushi Midorikawa2019-08-10
|
* docker: prevent Gogs from running a recursive chown on each boot (#5724)Paul Spieker2019-06-16
| | | The chown command in the setup file of Gogs is supposed to be executed just once. As soon as the app.ini file exists, this step should be skipped. However, the test was checking if a directory with the name app.ini exists instead of a file. Therefore, the chown command was executed on each boot.
* docker: chown only for the frist time (#5422)Unknwon2018-09-15
|
* Revert "docker: remove chown the git repos on startup (refs #4996). (#5390)"Unknwon2018-09-15
| | | | This reverts commit 068e6ce2c995445f0ce1c10ee11816600b12a5fd.
* docker: remove chown the git repos on startup (refs #4996). (#5390)Ross Golder2018-09-08
|
* docker: symlink fixes (#4747)Ross Williams2017-11-18
| | | | | | * Prevent circular links (symlinks) from being created: * /data/gogs/log/log -> /data/gogs/log * /data/gogs/data/data -> /data/gogs/data * /data/git/git -> /data/git
* 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)
* Edit comment to make it clear that we are talking about container versionJean-Philippe Roemer2015-10-12
|
* Docker repository path backward compatibility fix:Jean-Philippe Roemer2015-10-12
| | | | | - resolve #1765 - create link to old git repository path: `/home/git/gogs-repository`
* 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: 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
* Several bugfixes in Docker buildÓscar García Amor2015-10-02
| | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* 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