Luciano Andrade 8 年之前
父节点
当前提交
9df5de5e3e
共有 2 个文件被更改,包括 37 次插入1 次删除
  1. 1 1
      Dockerfile
  2. 36 0
      app/config/parameters.yml.docker

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@ FROM debian:8
 EXPOSE 8000
 
 RUN apt-get update 
-RUN apt-get install -yq git wget vim tmux php5-cli php5-mysql
+RUN apt-get install -yq git wget vim tmux php5-cli php5-mysql php5-curl
 
 RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 RUN php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

+ 36 - 0
app/config/parameters.yml.docker

@@ -0,0 +1,36 @@
+# This file is a "template" of what your parameters.yml file should look like
+# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
+# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
+parameters:
+    database_driver:   pdo_mysql
+    database_host:     db
+    database_port:     ~
+    database_name:     fd3_ftth
+    database_user:     root
+    database_password: 235r2342gtfsw
+    # You should uncomment this if you want use pdo_sqlite
+    # database_path: "%kernel.root_dir%/data.db3"
+
+    mailer_transport:  smtp
+    mailer_host:       127.0.0.1
+    mailer_user:       ~
+    mailer_password:   ~
+
+    # A secret key that's used to generate certain security-related tokens
+    secret:            ThisTokenIsNotSoSecretChangeIt
+    jms_serializer.camel_case_naming_strategy.class: JMS\Serializer\Naming\IdenticalPropertyNamingStrategy
+
+    # amqp queue config
+    amqp_host: amqp
+    amqp_port: 5672
+    amqp_user: 'guest'
+    amqp_password: 'guest'
+    amqp_vhost: '/'
+    amqp_lazy:  false
+    amqp_connection_timeout: 3
+    amqp_read_write_timeout: 3
+
+
+    
+    # Url para logout en repositorio ftth
+    url_logout: 'http://127.0.0.1/ftth/app_dev.php/logout'