Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. version: "3.1"
  2.  
  3. services:
  4. psql:
  5. image: postgres
  6. secrets:
  7. - psql_user
  8. - psql_password
  9. environment:
  10. POSTGRES_PASSWORD_FILE: /run/secrets/psql_password
  11. POSTGRES_USER_FILE: /run/secrets/psql_user
  12.  
  13. secrets:
  14. psql_user:
  15. file: ./psql_user.txt
  16. psql_password:
  17. file: ./psql_password.txt
  18. another_one:
  19. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement