mounting folders on prod

This commit is contained in:
Darrel Pol 2024-11-05 21:11:27 -06:00
parent 835a58c0e4
commit 4f9ba809e4
2 changed files with 3 additions and 5 deletions

View file

@ -6,12 +6,8 @@ on:
- master
paths:
- ".github/workflows/on_push_deploy_to_staging.yaml"
<<<<<<< Updated upstream
# TODO: Decide if we want to add other file changes here.
# TODO: Decide how we handle updating this forked copy.
=======
# TODO: Decide if we want to add other file changes here.
>>>>>>> Stashed changes
# TODO: Decide how we handle updating this forked copy.
jobs:
deploy:
runs-on: ubuntu-latest

View file

@ -74,6 +74,8 @@ jobs:
# Run the new Docker container
docker run --gpus all -d -p 7861:7861 --name moonlite-sd \
-v /home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images:/outputs/img2img-images \
-v /home/ec2-user/apps/media_root:/home/ec2-user/apps/media_root \
--env-file /home/${{ secrets.PROD_EC2_USER }}/.env \
${{ secrets.PROD_ECR_URI }}:latest