Advertisement
riking

Untitled

Mar 19th, 2014
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.89 KB | None | 0 0
  1. root@forum:/var/docker# cat containers/app.yml
  2. # this is the base templates used, you can cut it down to include less functionality per container
  3. templates:
  4.   - "templates/cron.template.yml"
  5.   - "templates/postgres.template.yml"
  6.   - "templates/redis.template.yml"
  7.   - "templates/sshd.template.yml"
  8.   - "templates/web.template.yml"
  9.   - "templates/web.ssl.template.yml"
  10. # which ports to expose?
  11. expose:
  12.   - "80:80"
  13.   - "2222:22"
  14.   - "443:443"
  15.  
  16. params:
  17.   # ssh key so you can log in, a tip, try using the key for root in ~root/.ssh or generate one
  18.   # using ssh-keygen. This should be a string containing the key contents. For more information
  19.   # see Troubleshooting in README
  20.   ssh_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBHjicROOfrBgrhDXD0zEXThE6UaFvW/m9uWLhGsL/t4+XW4E2WnVHHJAy3H2l11SEhbMa9HCoOso4xSzq8ZXVveP9oO8s4vt9xYnHQ2jU9ApjRpFvio91eLcsqKWrjse2g7bIoUpiXEWEreaRrU3xfuc4Tj8/B5YmgSlyPIn21yyQ/HNN7bxQWfrI68QsyYBfzjP9Oyoyctp3DXDqqR+FQTb4WxiocQRqV847y9019+MdZOjn6q3GbTsGC6zFvn2FeQvU/5kSeK+jJUnFtAqLiWmzYQh1+YxUNQ+REEiGh/zafyEWiKU40W77hTKF28Aa7GsjgCakudzUNdo5HLth root@forum.riking.org"
  21.   # git revision to run
  22.   version: HEAD
  23.  
  24.  
  25. env:
  26.  # your email here
  27.   DISCOURSE_DEVELOPER_EMAILS: 'kanepyork@gmail.com'
  28.   # CHANGE ME to your hostname
  29.   DISCOURSE_HOSTNAME: 'forum.riking.org'
  30.   # SET ME to your smtp server eg mandrill
  31.   # don't forget to set mail
  32.   DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
  33.   DISCOURSE_SMTP_PORT: 587
  34.   DISCOURSE_SMTP_USER_NAME: kanepyork@gmail.com
  35.   DISCOURSE_SMTP_PASSWORD: "lolno"
  36.  
  37. volumes:
  38.   - volume:
  39.       host: /var/docker/shared
  40.       guest: /shared
  41.  
  42. # you may use the docker manager to upgrade and monitor your docker image
  43. # UI will be visible at http://yoursite.com/admin/docker
  44. hooks:
  45.   after_code:
  46.     - exec:
  47.         cd: $home/plugins
  48.         cmd:
  49.          - mkdir -p plugins
  50.           - git clone https://github.com/discourse/docker_manager.git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement