docker-compose.yml 230 B

12345678910111213
  1. version: '3'
  2. volumes:
  3. home:
  4. services:
  5. notebook:
  6. build: .
  7. ports: ['127.0.0.1:8888:8888']
  8. volumes: ['home:/home/notebook:rw']
  9. security_opt: ['no-new-privileges']
  10. # https://docs.docker.com/compose/compose-file