version: "3"

services:
  spyder-remote-server:
    build: .
    # volumes:
    #   - "..:/home/ubuntu/spyder_remote_server"
    networks:
      mynet:
        ipv4_address: 172.16.128.2
    ports:
      - "2222:22"
    privileged: true # Required for /usr/sbin/init
networks:
  mynet:
    ipam:
      config:
        - subnet: 172.16.128.0/24
