version: '2.0' services: nginx: build: context: ./frontend/ dockerfile: ./Dockerfile ports: - 9360:9360 networks: lims_net: ipv4_address: 172.42.0.11 web: build: . command: python manage.py runserver 0.0.0.0:9361 volumes: - .:/code ports: - 9361:9361 networks: lims_net: ipv4_address: 172.42.0.12 networks: lims_net: ipam: config: - subnet: 172.42.0.0/16