-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.vscode.yml
28 lines (26 loc) · 1.2 KB
/
docker-compose.vscode.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# docker compose file for development with visual studio code
services:
geoportal:
# entrypoint: >
# /bin/sh -c "python -u -m debugpy --listen 0.0.0.0:5678 /opt/mrmap/manage.py makemigrations accounts registry notify"
# entrypoint: >
# /bin/sh -c "python -u -m debugpy --listen 0.0.0.0:5678 /opt/mrmap/manage.py sync_pgviews --force"
# entrypoint: >
# /bin/bash -c "python /opt/mrmap/manage.py graph_models -a -g -o models.png"
# entrypoint: >
# /bin/bash -c "python -u -m debugpy --listen 0.0.0.0:5678
# /opt/mrmap/manage.py squashmigrations registry 0002"
# entrypoint: >
# /bin/bash -c "python -u -m debugpy --listen 0.0.0.0:5678 /opt/mrmap/manage.py migrate"
#entrypoint: >
# /bin/bash -c "python -u -m debugpy --listen 0.0.0.0:5678
# /opt/mrmap/manage.py loaddata test_users"
# entrypoint: >
# /bin/bash -c "python -u -m debugpy --listen 0.0.0.0:5678
# /opt/mrmap/manage.py dumpdata --natural-foreign --natural-primary registry
# > fixture.json"
command: >
/bin/sh -c "python -u -m debugpy --listen 0.0.0.0:5678 manage.py runserver 0.0.0.0:8007"
ports:
- "0.0.0.0:3007:5678"
- "0.0.0.0:8007:8007"