services: theia: build: ./theia-apps/theia-docker hostname: theia container_name: theia restart: always entrypoint: - /bin/bash - /entrypoint.sh mem_limit: 500000000 volumes: - ./entrypoint.sh:/entrypoint.sh:ro - ./torrc:/etc/tor/torrc:ro - ./iptables.rules:/etc/iptables/iptables.rules:ro - ./public-project:/home/project expose: - 3000 cap_add: - NET_ADMIN networks: mynet: ipv4_address: 172.16.16.101 networks: mynet: driver: bridge ipam: config: - subnet: 172.16.16.0/24