11 Commits
Author SHA1 Message Date
Arjun SalyanandGitHub 9f145a134b Dockerfile: Update MacPorts version to 2.11.5 (#406)
Closes https://github.com/macports/macports-webapp/issues/388
2025-08-22 15:14:06 +05:30
Arjun SalyanandGitHub b8b9b48ec1 Dockerfile: Update macports base image to 2.9.3 2024-07-15 12:45:09 +05:30
Arjun SalyanandGitHub 89b85aef53 Docker: Update base image to MacPorts 2.8.1 2023-02-04 13:45:15 +05:30
Arjun SalyanandGitHub b778b6bb17 Dockerfile: Update base docker image 2023-01-18 12:42:42 +05:30
Arjun SalyanandGitHub 89aa7b1fd7 Dockerfile: Update base image to MacPorts 2.8.0 2022-11-14 18:01:06 +05:30
arjunsalyan f1375581d4 Docker: add package tcllib required by portindex2json.tcl 2020-06-22 11:24:17 +05:30
arjunsalyan 079cacc242 Use MacPorts based image for docker 2020-05-23 13:06:10 +05:30
Arjun SalyanandArjun Salyan cbd2392c45 Docker: Install libpq-dev and python-dev in the image 2019-08-12 02:33:25 +05:30
Clemens LangandArjun Salyan b8e131ba5b docker: Support running as unprivileged user
For our production deployment, I do not want to run the container with
elevated privileges. Instead, allow specifying a user a build argument,
add the required chown statements for paths that should be writable
during production and switch the nginx port to a port from the
unprivileged port range so that non-root users can bind to it.

This allows successfully running the container using the following
command line:

  docker run -d \
    --publish 8080:8080 \
    --user=$uid:$gid \
    --env-file=env \
    -v /postgres/socket/dir:/postgres/socket/dir \
    -v /etc/passwd:/etc/passwd:ro \
    --name=macports-webapp macports-webapp
2019-08-01 21:23:26 +05:30
Arjun Salyan 02a30ebbc3 Add cron for update-portinfo command 2019-07-19 19:40:05 +05:30
arjunsalyanandMojca Miklavec a8b73b7d33 Add docker configuration and documentation
Commands like migrate and collectstatic should always run when the
container is (re)started. Other commands like load and cron
should be started manually.

Closes: https://github.com/macports/macports-webapp/pull/32
2019-07-16 23:30:03 +02:00