File Storage

File Storage


1. Create storage folder (if it doesn't exist)

Ensure your project directory includes a storage folder. The structure should look like this:

- license - styles └── custom.css - storage - .env - docker-compose.yml

If not, create the folder manually:

mkdir storage

2. Update docker-compose.yml

Ensure the apliqo-api container has the correct volume mapping in your docker-compose.yml:

... apliqo-api: ... volumes: - ./storage:/usr/src/app/storage

Note: If this line is missing, add it and restart the container to apply the changes:

docker compose up -d apliqo-api

3. Important Notes

  • Folder structure: The storage folder must be in the same directory as docker-compose.yml.

  • Volume mapping: The apliqo-api container must include the volume:

volumes: - ./storage:/usr/src/app/storage
  • Restart required: After modifying docker-compose.yml, restart the container:

docker compose up -d apliqo-api

If you're using the Apliqo CLI, start the container with

sh ./apliqoux.sh start apliqo-api