remove mkdocs container from docker dev
This commit is contained in:
parent
fe5bba18a2
commit
c6c0159ee4
|
@ -23,7 +23,7 @@ POSTGRES_USER=postgres
|
||||||
POSTGRES_PASS=postgrespass
|
POSTGRES_PASS=postgrespass
|
||||||
|
|
||||||
# DEV SETTINGS
|
# DEV SETTINGS
|
||||||
APP_PORT=80
|
APP_PORT=443
|
||||||
API_PORT=80
|
API_PORT=80
|
||||||
HTTP_PROTOCOL=https
|
HTTP_PROTOCOL=https
|
||||||
DOCKER_NETWORK=172.21.0.0/24
|
DOCKER_NETWORK=172.21.0.0/24
|
||||||
|
|
|
@ -231,19 +231,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- tactical-data-dev:/opt/tactical
|
- tactical-data-dev:/opt/tactical
|
||||||
|
|
||||||
mkdocs-dev:
|
|
||||||
container_name: trmm-mkdocs-dev
|
|
||||||
image: api-dev
|
|
||||||
restart: always
|
|
||||||
user: 1000:1000
|
|
||||||
command: [ "tactical-mkdocs-dev" ]
|
|
||||||
ports:
|
|
||||||
- "8005:8005"
|
|
||||||
volumes:
|
|
||||||
- ..:/workspace:cached
|
|
||||||
networks:
|
|
||||||
- dev
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
tactical-data-dev: null
|
tactical-data-dev: null
|
||||||
postgres-data-dev: null
|
postgres-data-dev: null
|
||||||
|
|
|
@ -175,8 +175,3 @@ if [ "$1" = 'tactical-websockets-dev' ]; then
|
||||||
check_tactical_ready
|
check_tactical_ready
|
||||||
"${VIRTUAL_ENV}"/bin/daphne tacticalrmm.asgi:application --port 8383 -b 0.0.0.0
|
"${VIRTUAL_ENV}"/bin/daphne tacticalrmm.asgi:application --port 8383 -b 0.0.0.0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = 'tactical-mkdocs-dev' ]; then
|
|
||||||
cd "${WORKSPACE_DIR}/docs"
|
|
||||||
"${VIRTUAL_ENV}"/bin/mkdocs serve
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue