Commit | Line | Data |
---|---|---|
67a25ebf SS |
1 | templates: |
2 | - "templates/cron.template.yml" | |
3 | - "templates/postgres.template.yml" | |
4 | - "templates/redis.template.yml" | |
5 | - "templates/sshd.template.yml" | |
6 | - "templates/web.template.yml" | |
7 | ||
8 | expose: | |
9 | - "80:80" | |
10 | - "2222:22" | |
11 | ||
12 | params: | |
13 | ssh_key: YOUR_KEY | |
14 | ||
15 | version: HEAD | |
16 | ||
17 | ||
18 | database_yml: | |
19 | production: | |
20 | host_names: | |
21 | - example.com | |
22 | env: | |
23 | DEVELOPER_EMAILS: 'dev@example.com' | |
24 | ||
25 | volumes: | |
26 | - volume: | |
27 | host: /home/sam/discourse_docker/shared | |
28 | guest: /shared | |
29 | ||
30 | hooks: | |
31 | after_code: | |
32 | - exec: | |
33 | cd: $home/plugins | |
34 | cmd: | |
35 | - mkdir -p plugins | |
36 | - git clone https://github.com/SamSaffron/blog.git | |
37 | - git clone https://github.com/discourse/docker_manager.git |