Advertisement
Guest User

Untitled

a guest
May 20th, 2019
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. version: '3'
  2. services:
  3. app:
  4. build:
  5. context: ./app
  6. dockerfile: Dockerfile
  7. volumes:
  8. - "./app/code/:/code/"
  9. ports:
  10. - 8888:8888
  11. depends_on:
  12. - db
  13. tty: true
  14. environment:
  15. DB_ENGINE: sql_server.pyodbc
  16. DB_NAME: master
  17. DB_SERVER: host.docker.internal
  18. DB_PORT: 1433
  19. DB_DRIVER: "ODBC Driver 17 for SQL Server"
  20. DB_USER: sa
  21. DB_PWD: blogPWD123!
  22.  
  23. command: /bin/bash
  24.  
  25. db:
  26. image: microsoft/mssql-server-linux:2017-CU9
  27. ports:
  28. - 1433:1433
  29. environment:
  30. SA_PASSWORD: blogPWD123!
  31. ACCEPT_EULA: Y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement