Advertisement
Guest User

Untitled

a guest
Apr 12th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. ersion: '3'
  2.  
  3. volumes:
  4. postgres:
  5. driver: local
  6.  
  7. services:
  8. keycloak-export:
  9. image: localhost:5000/shine_keycloak_stack
  10. entrypoint:
  11. - keycloak/bin/standalone.sh
  12. - -Dkeycloak.migration.action=export
  13. - -Dkeycloak.migration.provider=dir
  14. - -Dkeycloak.migration.dir=/opt/jboss/
  15. - -Dkeycloak.migration.usersExportStrategy=SAME_FILE
  16. - -Dkeycloak.migration.realmName=$REALM_NAME
  17. volumes:
  18. # - ./jboss/standalone-ha.xml:/opt/jboss/keycloak/standalone/configuration/standalone-ha.xml
  19. - ./jboss/sso-wildfly-cert.jks:/opt/jboss/keycloak/standalone/configuration/sso-wildfly-cert.jks
  20. environment:
  21. DB_VENDOR: POSTGRES
  22. DB_ADDR: postgres
  23. DB_DATABASE: keycloak
  24. DB_USER: keycloak
  25. DB_PASSWORD:
  26. KEYCLOAK_USER: admin
  27. KEYCLOAK_PASSWORD:
  28. PROXY_ADDRESS_FORWARDING: "true"
  29. deploy:
  30. placement:
  31. constraints: [node.id == stlu5zs2x6qm8iin79zzqixqo]
  32. networks:
  33. - swarm-network
  34.  
  35. networks:
  36. swarm-network:
  37. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement