Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@forum:/var/docker# cat containers/app.yml
- # this is the base templates used, you can cut it down to include less functionality per container
- templates:
- - "templates/cron.template.yml"
- - "templates/postgres.template.yml"
- - "templates/redis.template.yml"
- - "templates/sshd.template.yml"
- - "templates/web.template.yml"
- - "templates/web.ssl.template.yml"
- # which ports to expose?
- expose:
- - "80:80"
- - "2222:22"
- - "443:443"
- params:
- # ssh key so you can log in, a tip, try using the key for root in ~root/.ssh or generate one
- # using ssh-keygen. This should be a string containing the key contents. For more information
- # see Troubleshooting in README
- ssh_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBHjicROOfrBgrhDXD0zEXThE6UaFvW/m9uWLhGsL/t4+XW4E2WnVHHJAy3H2l11SEhbMa9HCoOso4xSzq8ZXVveP9oO8s4vt9xYnHQ2jU9ApjRpFvio91eLcsqKWrjse2g7bIoUpiXEWEreaRrU3xfuc4Tj8/B5YmgSlyPIn21yyQ/HNN7bxQWfrI68QsyYBfzjP9Oyoyctp3DXDqqR+FQTb4WxiocQRqV847y9019+MdZOjn6q3GbTsGC6zFvn2FeQvU/5kSeK+jJUnFtAqLiWmzYQh1+YxUNQ+REEiGh/zafyEWiKU40W77hTKF28Aa7GsjgCakudzUNdo5HLth root@forum.riking.org"
- # git revision to run
- version: HEAD
- env:
- # your email here
- DISCOURSE_DEVELOPER_EMAILS: 'kanepyork@gmail.com'
- # CHANGE ME to your hostname
- DISCOURSE_HOSTNAME: 'forum.riking.org'
- # SET ME to your smtp server eg mandrill
- # don't forget to set mail
- DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
- DISCOURSE_SMTP_PORT: 587
- DISCOURSE_SMTP_USER_NAME: kanepyork@gmail.com
- DISCOURSE_SMTP_PASSWORD: "lolno"
- volumes:
- - volume:
- host: /var/docker/shared
- guest: /shared
- # you may use the docker manager to upgrade and monitor your docker image
- # UI will be visible at http://yoursite.com/admin/docker
- hooks:
- after_code:
- - exec:
- cd: $home/plugins
- cmd:
- - mkdir -p plugins
- - git clone https://github.com/discourse/docker_manager.git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement