Commit bc2be688 authored by John Red Medrano's avatar John Red Medrano

modify docker-compose ready for version2

parent 8dd4fb63
version: '3' version: '3'
services: services:
rms_main: web:
image: dev-rmsv2:latest
build: . build: .
command: python manage.py runserver 0.0.0.0:8000 command: python manage.py runserver 0.0.0.0:8000
container_name: rms_main-container
volumes: volumes:
- .:/code - .:/code
ports: ports:
- 7010:8000 - "7020:8000"
networks: container_name: dev_rmsv2_api_container
rms_main_network: restart: always
ipv4_address: 172.168.70.10
networks:
rms_main_network:
driver: bridge
ipam:
config:
- subnet: 172.17.0.0/16
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment