Skip to content

Commit

Permalink
Modified docker-compose configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gmork2 committed May 24, 2020
1 parent 7be4c88 commit a34e933
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
version: '3'

services:
web:
soap_connector:
build: .
image: django-soap-connector:latest
command: python manage.py runserver 0.0.0.0:8000
command: >
bash -c "python manage.py migrate
&& python manage.py runserver 127.0.0.1:8000"
network_mode: "host"
volumes:
- .:/src
ports:
- "8000:8000"
- "8000:8000"
container_name: soap_connector
tty: true

0 comments on commit a34e933

Please sign in to comment.