Open in app

Sign In

Write

Sign In

Xavier Priour
Xavier Priour

18 Followers

Home

About

Feb 13, 2019

Meteor unit tests with Jest, 2019 edition

I have a confession to make: my Meteor app, in production for more than 2 years, has no tests. So today I embarked on a journey to change that, starting with the basics: unit tests (no integration, no end-to-end yet). Read on if you’re in the same boat! In the…

JavaScript

2 min read

Meteor unit tests with Jest, 2019 edition
Meteor unit tests with Jest, 2019 edition
JavaScript

2 min read


Jan 30, 2019

OVH, Failover IP and CoreOS

tl;dr: OVH Failover IPs are an essential and cheap part of ensuring your recovery goes well for the users. You just need to add a specific config file to your CoreOS servers Last Sunday, one of our servers suffered a severe outage, caused by multiple hardware failures at our hosting…

Tech

2 min read

OVH, Failover IP and CoreOS
OVH, Failover IP and CoreOS
Tech

2 min read


Nov 26, 2018

Kubernetes, Docker, and volume mount mismatch

tl;dr: when mounting volumes in Kubernetes, they have to match the dockerfile VOLUME directives exactly, or you’ll regret it later… I’ve been a happy docker and docker-compose user, mounting host volumes liberally both in development and production to nicely separate data (which I need to backup) from executable code (which…

Docker

2 min read

Kubernetes, Docker, and volume mount mismatch
Kubernetes, Docker, and volume mount mismatch
Docker

2 min read


Jul 5, 2018

Secure Traefik dashboard with https and password in docker

tl; dr: Traefik dashboard is awesome, but a few steps are required to securely deploy it. (edit on 2019/06/24: note that the below applies to Traefik v1, the current stable one. Traefik v2, currently in alpha, has a very different configuration.) A quick bit of context: I recently switched the…

Docker

2 min read

Docker

2 min read


Jun 15, 2018

From pro dev to 1337 g4mer: the ultimate development laptop

tl;dr; for regular development use, buy a 17" gamer laptop (like my own MSI GS73VR 7RG Stealth Pro) not an ultra portable. At AssetSagacity, we strongly believe you need the best tools to do your best work. …

Tech

3 min read

From pro dev to 1337 g4mer: the ultimate development laptop
From pro dev to 1337 g4mer: the ultimate development laptop
Tech

3 min read


Apr 27, 2018

Docker: mounted files not updating

tl;dr: if you use docker with single file volume bindings, you need to instruct your IDE / text editor to save files in-place. Otherwise, your containers won’t see your updates until you restart them. You’re happily working in your docker environment, for example modifying a local config file and reloading…

Docker

1 min read

Docker

1 min read


Oct 3, 2017

Couldn’t connect to Docker daemon — seriously?

Hey, seems I’m bad at blogging but good at getting (and solving) weird Docker error message, so here goes: You’re happily developing with docker, but suddenly your docker-compose build commands start giving you errors: ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default` You know docker is there, you’re using it right now! docker ps works fine, so what gives? Well, it appears you also get this message when you don’t have the permission to read some files in your docker build context! Just run docker build . and you’ll get a clearer error message (hopefully).

Docker

1 min read

Docker

1 min read


May 16, 2017

docker (alpine?) DNS issue ‘bad address’

Well, this just cost me several hours, and I couldn’t find it anywhere else, so let’s start this blog with a note to self: If you’re doing some docker stuff (like building an alpine image) and your docker build fails with some DNS error but your host has no issue resolving the names and your /etc/resolv.conf in both environments look fine (= they are just a list of nameservers) then validate each DNS entry: dig google.com @ip.of.your.nameserver

Docker

1 min read

Docker

1 min read

Xavier Priour

Xavier Priour

18 Followers

😍 tech, comics and games. CTO at AssetSagacity.com

Following
  • Max Savin

    Max Savin

  • Mikeal Rogers

    Mikeal Rogers

  • Sacha Greif

    Sacha Greif

  • Vianney Lecroart

    Vianney Lecroart

  • Guillaume Moubeche

    Guillaume Moubeche

See all (15)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech