Skip to content

Commit

Permalink
fix: docker command container name
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Dec 18, 2024
1 parent 8aa4766 commit 448be20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions provision-designer.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name="designer"
port="18808"

docker-compose up -d $name --build
docker-compose up -d lms
docker compose up -d $name --build
docker compose up -d lms

# Install requirements
# Can be skipped right now because we're using the --build flag on docker-compose. This will need to be changed once we move to devstack.
# Can be skipped right now because we're using the --build flag on docker compose. This will need to be changed once we move to devstack.

# Wait for MySQL
echo "Waiting for MySQL"
Expand Down Expand Up @@ -36,4 +36,4 @@ docker exec -t edx.devstack.lms bash -c "source /edx/app/edxapp/edxapp_env && p
docker exec -t edx.devstack.lms bash -c "source /edx/app/edxapp/edxapp_env && python /edx/app/edxapp/edx-platform/manage.py lms --settings=devstack_docker create_dot_application --grant-type client-credentials --client-id '${name}-backend-service-key' --client-secret '${name}-backend-service-secret' ${name}-backend-service ${name}_worker"

# Restart designer app
docker-compose stop designer
docker compose stop designer

0 comments on commit 448be20

Please sign in to comment.