You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
704 B

  1. # -- DEV DOCKER-COMPOSE --
  2. # -- DO NOT USE IN PRODUCTION! --
  3. version: "3"
  4. services:
  5. db:
  6. image: mcr.microsoft.com/mssql/server:2017-latest
  7. environment:
  8. ACCEPT_EULA: 'Y'
  9. MSSQL_PID: Developer
  10. SA_PASSWORD: W1kiJSR0cks!
  11. logging:
  12. driver: "none"
  13. volumes:
  14. - db-data:/var/opt/mssql
  15. networks:
  16. - wikinet
  17. ports:
  18. - "11433:1433"
  19. wiki:
  20. build:
  21. context: .
  22. dockerfile: dev/docker-mssql/Dockerfile
  23. depends_on:
  24. - db
  25. networks:
  26. - wikinet
  27. ports:
  28. - "3000:3000"
  29. volumes:
  30. - .:/wiki
  31. - /wiki/node_modules
  32. command: ["sh", "./dev/docker-mssql/init.sh"]
  33. networks:
  34. wikinet:
  35. volumes:
  36. db-data: