ahilles107 / content-performance-analytics

Newsroom Content Analytics for journalists and editors.
MIT License
7 stars 3 forks source link

Docker configuration #8

Open ahilles107 opened 8 years ago

ahilles107 commented 8 years ago

Add docker configuration for project.

nginx + PHP7+fpm + postgresql

silentiumsi commented 7 years ago

I'll give this one a shot.

I'm having some trouble actually running the project, mostly because I'm so unfamiliar with it. If someone with more experience with the project wanted to take over, go for it. Here's is the Dockerfile I have made so far.

FROM ubuntu:16.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y \
nginx \
php7.0-fpm \
php7.0-json \
php7.0-ctype \
php7.0-zip \
curl \
git \
&& apt-get clean

RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf && \
chown -R www-data:www-data /var/lib/nginx

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

CMD ["php bin/console server:run"]

CMD ["nginx"]
ahilles107 commented 7 years ago

What are Your issues with running it? I can help You with solving them.

amitkumarj441 commented 7 years ago

Hey @ahilles107 ,

I'm willing to take up this task. Please let me know where should initiate PRs for this issue or create a new folder!

Cheers, Amit Kumar Jaiswal

ahilles107 commented 7 years ago

Create Pull request in this repository, You can find manual installation instructions here: https://github.com/ahilles107/content-performance-analytics/blob/master/doc/installation.md

amitkumarj441 commented 7 years ago

Hey @ahilles107 ,

Please do review my pending PRs of this issue!

Cheers, Amit Kumar Jaiswal

silentiumsi commented 7 years ago

@ahilles107 Sorry. I haven't been able to access my password manager, and thus any of my accounts for a few days! I'll leave this one to @amitkumarj441

amitkumarj441 commented 7 years ago

@SimonMckeon I didn't get you. What exactly the problem you're getting? @ahilles107 Did you tested my Dockerfile(#14) ?

ahilles107 commented 7 years ago

Hey, i will check it today/tomorrow evening. Thanks for this PR!

ahilles commented 7 years ago

Guys, please remove me from this conversation, because i'm not ahilles107 but ahilles. Amit mistakenly hooked me into it ;)

Cheers

2016-10-05 14:58 GMT+02:00 Paweł Mikołajczuk notifications@github.com:

Hey, i will check it today/tomorrow evening. Thanks for this PR!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ahilles107/content-performance-analytics/issues/8#issuecomment-251666730, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsbXf7_XTfeFvT7XT9P1uSWYb0oRGz9ks5qw57mgaJpZM4Ij-WF .

ahilles107 commented 7 years ago

@ahilles You need to manually unsubscribe from this PR. We can't kick out you.

amitkumarj441 commented 7 years ago

Hey @ahilles107 ,

Haven't seen you from last month! Did you checked my PRs? Please do review all PRs and let it merge asap!

Cheers, Amit Kumar Jaiswal