```sh echo ‘secret’ | docker secret create pg_secret - docker secret ls docker stack deploy -c docker-stack.yml demo ``