- services.websites.production.modules = piedsjaloux.apache.modules;
- services.websites.production.vhostConfs.piedsjaloux = {
+ phpWatchFiles = [
+ config.secrets.fullPaths."webapps/${app.environment}-piedsjaloux"
+ ];
+ };
+
+ secrets.keys = [
+ {
+ dest = "webapps/${app.environment}-piedsjaloux";
+ user = config.services.httpd.Prod.user;
+ group = config.services.httpd.Prod.group;
+ permissions = "0400";
+ text = ''
+ # This file is auto-generated during the composer install
+ parameters:
+ database_host: ${secrets.mysql.host}
+ database_port: ${secrets.mysql.port}
+ database_name: ${secrets.mysql.database}
+ database_user: ${secrets.mysql.user}
+ database_password: ${secrets.mysql.password}
+ database_server_version: ${pkgs.mariadb.mysqlVersion}
+ mailer_transport: smtp
+ mailer_host: 127.0.0.1
+ mailer_user: null
+ mailer_password: null
+ secret: ${secrets.secret}
+ pdflatex: "${pkgs.texlive.combine { inherit (pkgs.texlive) attachfile preprint scheme-small; }}/bin/pdflatex"
+ leapt_im:
+ binary_path: ${pkgs.imagemagick}/bin
+ '';
+ }
+ ];
+
+ services.websites.env.production.vhostConfs.piedsjaloux_prod = {