- Navigate to
/opt/arc/shimmer_new/
- Run
docker compose pull
- Run
docker compose up --build
- DO NOT use docker compose watch, it can cause issues with the database and frontend.
- Backend is ready to recieve images.
- The frontend is at
localhost:80
and the database (backup way to view images) is atlocalhost:9090
with credentials admin, arcshimmer - If you want to test that everything is running correctly, in another pane navigate to
/opt/arc/shimmer_new/backend/
and run$ python3 test_post.py
- This will post 5 images to the backend, with one having metadata.
- If for whatever reason the database is having problems, images are stored in the
/opt/arc/shimmer_new/backend/backup_images/
folder, with the same organization as in the database
- The frontend is at
- To shutdown - Ctrl+C the docker task
To deploy a production environment use
docker compose -f docker-compose.yml -f docker-compose-prod.yml up
To deploy a dev environment with hot reloading use, run
$ docker compose watch
in a different pane from the main Docker process. Be careful, as docker compose watch can cause issues with the database and frontend.
All configurable variables are in the project roots .env folder, including username and passkey for db
Run
$ docker compose up --pull