adapt phoenix config