[Expo-tech] Server things followup
Sam Wenham
sam at wenhams.co.uk
Thu May 9 13:17:52 BST 2019
On 09/05/2019 12:09, Wookey wrote:
> Any container we make. I was planning to more or less put the expo
> server into a container, but I'm a chroot and VM man, so have never
> really used containers. Why is it better not to put all the services
> in one bucket? Feel free to point me at a reference.
Normally because containers are considered ephemeral so if you split
them up you can replace one part (eg the DB) without replacing the rest
(eg the webapp) also the DB isn't then stuck to the version the webapp
needs (eg the DB could go to buster)
> Having read https://wiki.debian.org/Cloud I was planning to use the
> debian standard FAI to make maintainable container images. The more obvious
> option is docker, but AIUI that makes snapshot images that would keep
> needing updates (or become insecure).
> I'll have a go with this stuff over the w/e next week.
These images are for cloud and are basically VM images with cloud-init
and some other bits. The official Debian Docker container is here
https://hub.docker.com/_/debian
> You can presumably send me a docker script that should make the right
> thing already? Or even a built image to test?
All the Docker stuff I have done is in the troggle repo in the docker
folder. The troggle specific container is built from the Docker file.
The whole dev infra is built using docker-compose. There is a readme in
the folder on how to use it.
> I'll need some way to get at the expo machine/disk/data early next
> week. Can you (Sam) make a copy of the VM available somewhere I can see, or
> bring it to the pub on a drive?
I won't be around next week as I am diving in Cornwall.
Sam
>
> Wookey
>
>
> _______________________________________________
> Expo-tech mailing list
> Expo-tech at lists.wookware.org
> https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wookware.org/pipermail/expo-tech/attachments/20190509/af6fc7ab/attachment.sig>
More information about the Expo-tech
mailing list