Skip to content
Extraits de code Groupes Projets
app_config.yml.example 2,93 ko
Newer Older
  • Learn to ignore specific revisions
  • #   Copyright (c) 2010, Diaspora Inc.  This file is
    
    Raphael's avatar
    Raphael a validé
    #   licensed under the Affero General Public License version 3 or later.  See
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
    
      # Hostname of this host, as seen from the internet.
    
      pod_url: "http://localhost:3000"
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
    
      # Set this to true in order to close signups.  Users will still be
      # able to invite other people to join.
      registrations_closed: false
    
    
    Alec Leamas's avatar
    Alec Leamas a validé
      # Enable extensive logging to log/{development,test,production}.log
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Websocket server setup, see script/websocket_server.rb
      # Enable extensive logging to websocket server.
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Websocket host, leave as 0.0.0.0 unless you know what you are doing
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # File containing pid of running script/websocket_server.rb
    
      socket_pidfile: "log/diaspora-wsd.pid"
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Websocket port, should normally be 8080 or 8081.
    
      socket_port: 8080
      socket_collection_name: 'websocket'
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
    
      # Secure websocket confguration (wss://)
      # requires SSL cert and key
      socket_secure: false
      socket_private_key_location: '/full/path/to/file.key'
      socket_cert_chain_location: '/full/path/to/cert_chain.crt'
    
    
    Alec Leamas's avatar
    Alec Leamas a validé
      # Diaspora is only tested against this default pubsub server.
    
      pubsub_server: 'https://pubsubhubbub.appspot.com/'
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Setting this to true enables diaspora's "send email" functionality
      # requiring meaningful smtp_* settings. These are options for RoR's
      # ActionMailer class.
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
    
      # This chooses which mailer should be used. 'smtp' for a smtp
      # connection or 'sendmail' to use the sendmail binary.
      mailer_method: 'smtp'
    
    
    Alec Leamas's avatar
    Alec Leamas a validé
      # Address/port to smtp server handing outgoing mail.
    
      smtp_address: 'smtp.example.com'
      smtp_port: '587'
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Domain administered of smtp server.
      smtp_domain: 'example.com'
    
      # Sender address in diaspora's outgoing mail.
    
      smtp_sender_address: 'no-reply@joindiaspora.com'
    
      # Authentication required to send mail. Use one of 'one','plain',
      # 'login' or 'cram-md5'. Use 'none' if server do not support
      # authentication
      smtp_authentication: 'plain'
    
    Alec Leamas's avatar
    Alec Leamas a validé
    
      # Credentails possibly required to log in to SMTP server if
    
      # smtp_authentication != 'none'
    
    Alec Leamas's avatar
    Alec Leamas a validé
      smtp_username: 'smtp_username'
      smtp_password: 'secret'
    
      # The path to the sendmail binary.
      sendmail_location: '/usr/sbin/sendmail'
    
    
      #google analytics key, if false, it won't include the javascript
      google_a_site: false
    
      #piwik integration if not set, no javascript included
    
      # the site url in raw format (e.g. pikwik.examplehost.com)
    
    
      #cloudfiles username and api-key, used for backups
      cloudfiles_username: 'example'
      cloudfiles_api_key:  'abc123'
    
      invites_off: false
    
    zhitomirskiyi's avatar
    zhitomirskiyi a validé
      #list of users who have admin privilages
      admins:
        - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
    
    
      #s3 config, if set, carrierwave will store your photos on s3
      #s3_key: 'key'
      #s3_secret: 'secret'
      #s3_bucket: 'my_photos'
    
      
    
    development:
    
    test:
      pod_url: "http://example.org/"
      socket_port: 8081
    
    production: