Commit 9bdaeea2 by nabil el mahiri

nginx new conf

parent 7f90b3a3
Pipeline #519 passed with stages
in 12 minutes 19 seconds
...@@ -99,6 +99,7 @@ COPY ./ /atlasvoyages/ ...@@ -99,6 +99,7 @@ COPY ./ /atlasvoyages/
RUN chmod -R 700 /atlasvoyages/apps RUN chmod -R 700 /atlasvoyages/apps
RUN chown -R www-data:www-data /atlasvoyages/apps
# restore mongo db database # restore mongo db database
# RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive # RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive
......
...@@ -7,6 +7,9 @@ command=redis-server --daemonize yes ...@@ -7,6 +7,9 @@ command=redis-server --daemonize yes
[program:mongodb] [program:mongodb]
command=mongod --fork --logpath /var/log/mongodb.log command=mongod --fork --logpath /var/log/mongodb.log
[program:mongorestore]
command=mongorestore --host localhost --port 27017 --gzip --archive=/atlasvoyages/atlasvoyages-dev.archive
[program:nginx] [program:nginx]
command=/etc/init.d/nginx start command=/etc/init.d/nginx start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment