shared/*
*.swp
+containers/*
cids/*
-*.yml
--- /dev/null
+templates:
+ - "templates/cron.template.yml"
+ - "templates/postgres.template.yml"
+ - "templates/redis.template.yml"
+ - "templates/sshd.template.yml"
+
+expose:
+ - "5432:5432"
+ - "6379:6379"
+ - "2221:22"
+
+params:
+ ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoW2hxaAVSVNdHQlVJ8eQhhU3m6xYZ5ZsaHaUNc9Gau0OXko7Jw5Gf3ooJ8r0CI0vsHZtifTWCU2t4FlB3ERH6M9Rst8IypOo6/6JrEmXqGBQAHB6QyPNXNE+nVzCdLaww58iQa++IGNS29Zr9jDECGEBh9G52qkBa/9JoOXed6s0JJPf9C5MNNzGbv4mgP8iIqluB41egsY1hTEJwfA1WLgxEEqwZQpEDs2mLZKXlUav3slaD0oq81BZx4WxcKuLv4Xh3mGBeJcM/fWOpQmkgoamFUvD9ijxCQCNrqF0QX/+MqGDxqQfeEzoQaKeINfyehkJpLrcamunBgEvqqlaBw== sam@sam-ubuntu
+
+volumes:
+ - volume:
+ host: /home/sam/discourse_docker/shared
+ guest: /shared
command=$1
config=$2
-config_file="$config".yml
+config_file=containers/"$config".yml
cidfile=cids/"$config".cid
cidbootstrap=cids/"$config"_boostrap.cid
local_discourse=local_discourse
--- /dev/null
+templates:
+ - "templates/redis.template.yml"
+ - "templates/sshd.template.yml"
+
+expose:
+ - "6379:6379"
+ - "2221:22"
+
+hooks:
+# after_sshd:
+ # - exec: ssh-import-id some-user
+
+volumes:
+ - volume:
+ host: /home/sam/discourse_docker/shared
+ guest: /shared
guest: /shared
hooks:
+# you may import your key using launchpad if needed
+#after_sshd:
+# - exec: ssh-import-id some-user
after_code:
- exec:
cd: $home/plugins