Explorar el Código

change port 80 to 1800

formation hace 5 años
padre
commit
6da8f86f8e
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  1. 1 1
      Jenkinsfile
  2. 2 2
      build/docker/apache/Dockerfile
  3. 1 1
      build/docker/apache/apache.conf

+ 1 - 1
Jenkinsfile

@@ -12,7 +12,7 @@ node{
         imageApache=docker.build('server-apache-dev', '--no-cache -f build/docker/apache/Dockerfile .')
         imageSql=docker.build('server-mysql-dev', '--no-cache -f build/docker/mysql/Dockerfile .')
         containerMysql=imageSql.run('--name server-mysql-dev')
-        containerApache=imageApache.run('-p 8080:80 --link server-mysql-dev:mysql')
+        containerApache=imageApache.run('-p 1800:1800 --link server-mysql-dev:mysql')
     }
     /* stage('Waiting Container'){
         waitUntil{

+ 2 - 2
build/docker/apache/Dockerfile

@@ -11,9 +11,9 @@ RUN docker-php-ext-install opcache \
 
 COPY $PWD/build/docker/apache/app_php.ini /usr/local/etc/php/conf.d/app_php.ini
 COPY $PWD/build/docker/apache/apache.conf /etc/apache2/sites-available/foodgame.conf
-RUN a2dissite 000-default default-ssl
+RUN a2dissite foodgame foodgame-ssl
 RUN a2ensite foodgame
 COPY $PWD /var/www
 WORKDIR /var/www
 
-EXPOSE 80
+EXPOSE 1800

+ 1 - 1
build/docker/apache/apache.conf

@@ -1,4 +1,4 @@
-<VirtualHost *:80>
+<VirtualHost *:1800>
    DocumentRoot /var/www/src
    <Directory /var/www/src>
         option +Indexes +FollowSymlinks