Commit Graph

21 Commits

Author SHA1 Message Date
Abhilash Raj
0100dc4bc0 Add g++ (gcc-cpp) as build dependency (#575)
* Add gcc-cpp as build dependency

* add g++

* add pg binary driver

* Use the postgresql as the driver scheme

* Revert "add pg binary driver"

This reverts commit aaa3aed87e40a0f6193ba1242934fd7659a75440.
2022-11-05 07:38:55 -07:00
Abhilash Raj
208017f9a0 Test dependabot for Dockerfiles & Bump Postgres to 11 (#557)
* Test dependabot for Dockerfiles.

* Also for github actions

* Update dependabot.yml

* Fix urls.py for new versions of Django

* Fix urls.py for postorius.

* Bump dependency on Postgresql.

* Bump dependency on Django

* Add dependency on tzdata.
2022-10-25 23:25:57 -07:00
Abhilash Raj
9d9a627f72 Update docker compose specs (#517) 2021-09-23 10:31:06 -07:00
Abhilash Raj
d655998926 Use a defined subnet for containers 2021-08-26 05:56:26 +00:00
Gabor Szarnyas
3dd4718770 README fixes (#464)
* Fix typos and use consistent YAML data structures for env

* Add Debug flag and more structure to the README

* Clarify default value of MM_HOSTNAME

* Fix typo

* Fix typos
2021-05-21 13:54:03 -07:00
pini-gh
c10aa6fce4 Get rid of hard coded IPs (#441)
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files
2021-03-15 10:47:13 -07:00
Abhilash Raj
0b22a0da62 Do not restart database always. 2020-08-22 18:16:41 -07:00
Abhilash Raj
b125b44277 Update images in compose files to use the latest ones. (#363) 2020-01-18 09:51:12 -08:00
Abhilash Raj
274965cced Update stable containers to 3.2 suite release. 2018-07-26 20:53:07 -07:00
Abhilash Raj
743bc8522c Force start mailman inside the container.
Even though the 'master.lck' is supposed to prevent race conditions, it needs to
be manually removed if the container did not shutdown gracefully. Remove the
manual check for the lock file and force mailman to remove it.

Also, set the stop_grace_period to 30s, which would allow Core to stop
gracefully and not leave the lock file over. Default value in case of Docker is 10s.
2017-11-03 10:59:08 -07:00
Tatsuyuki Ishi
150a514bd4 Use Alpine for postgres 2017-07-28 17:46:45 +09:00
Abhilash Raj
e42b6d13a1 Move the compose file to the stable version of images. (#56) 2017-06-25 06:11:41 -07:00
Abhilash Raj
0ae0a55a42 Specify the database type along with the URL. 2017-05-28 14:59:52 -07:00
Abhilash Raj
7bc5bf5dc4 Use a config file for uwsgi. 2017-05-28 14:21:32 -07:00
Abhilash Raj
dcc2ccb70e Remove building from docker-compose and move that to a seperate script.
I want to be able to distribute docker-compose.yaml without any dependencies. In
order to do that, I should make it pull stable images from hub.docker.com
instead of trying to build them locally. This will avoid users running untested
code from the github repo instead of using the tested version on docker hub.
2017-04-25 19:49:31 -07:00
Abhilash Raj
aa367a2495 Fix the wrong database class for Postgesql in mailman-core. 2017-04-18 08:37:56 -07:00
Abhilash Raj
7de4cd6a92 Define the DATABASE_TYPE and DATABASE_CLASS along with DATABASE_URL. 2017-04-08 19:54:51 -07:00
Abhilash Raj
aec4ef4e03 Disable some security options in django settings. 2017-04-07 18:22:43 -07:00
Abhilash Raj
ed0756f9c9 Several changes
- Add hostnames to the container.
- Add a custom bridge network so that the containers and the host can have
  a static IP and that can be added in the configurations.
- Assign static IPs to all the containers in the new default configuration.
2017-04-05 00:11:33 -07:00
Abhilash Raj
131d1c0b8a Add a postgres database container.
- Set environemnt variables for Postgresql database in the compose file
- Set environment variables for uwsgi in the compose file
- Check if the postgresql container is up and accepting connections before
  running any actual services.
2017-03-29 21:58:40 -07:00
Abhilash Raj
c110bb1d01 Add a docker compose configuration and mailman-web
This commit adds a lot of new code including the mailman's web
frontend. It includes a configuration file which can later be
configured to run required configs.

Also, the docker-compose file spins off the containers, sets up
appropriate volumes and links.
2017-03-29 16:30:25 -07:00