Bernoulli and Markov stationary measures in discrete local interactions