You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/06/15 11:52:46 UTC
[GitHub] [incubator-ponymail-foal] sebbASF opened a new issue #48: Need installation details or Docker file
sebbASF opened a new issue #48:
URL: https://github.com/apache/incubator-ponymail-foal/issues/48
There should be some details on how to set up the server for use, and/or a Docker file
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #48: Need installation details or Docker file
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #48:
URL: https://github.com/apache/incubator-ponymail-foal/issues/48#issuecomment-890486132
Oh, there's actually https://github.com/apache/incubator-ponymail-foal/blob/master/INSTALL.md which details installation...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] sbp commented on issue #48: Need installation details or Docker file
Posted by GitBox <gi...@apache.org>.
sbp commented on issue #48:
URL: https://github.com/apache/incubator-ponymail-foal/issues/48#issuecomment-890478555
The following snippet of a Dockerfile based on Debian may be of some use:
```
RUN apt-get -y --quiet --no-install-recommends install \
apache2 \
git \
pipenv \
python3 \
&& apt-get -y autoremove \
&& apt-get clean autoclean \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/*
RUN cd /var/www \
&& git clone https://github.com/apache/incubator-ponymail-foal foal \
&& cd /var/www/foal/ \
&& pipenv install -r requirements.txt \
&& cd /var/www/foal/tools/ \
&& pipenv run python3 setup.py --defaults \
--noindex \
--dburl=https://$ELASTICSEARCH/ \
--dbname=$DATABASE \
--mldom=$DOMAIN \
&& cd /var/www/foal/server/ \
&& pipenv install -r requirements.txt \
&& chown -R www-data /var/www/foal
RUN a2enmod headers \
&& a2enmod proxy \
&& a2enmod proxy_http \
&& a2enmod remoteip \
&& a2enmod rewrite \
&& a2enmod ssl \
&& a2ensite $DOMAIN
```
The `$ELASTICSEARCH`, `$DATABASE`, and `$DOMAIN` variables must be filled in by the user. The Apache modules may not all be required, and some necessary configuration has been omitted.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #48: Need installation details or Docker file
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #48:
URL: https://github.com/apache/incubator-ponymail-foal/issues/48#issuecomment-890479040
There is also a `how to run` paragraph in the server/README.md file, albeit not a terribly verbose one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org