To start a local SIWECOS setup on your machine:
- install docker and docker-compose
- clone this repo
- run
docker-compose up -d
- create the required database tables by switchting into the corresponding container with
docker-compose exec siwecos-business-layer bash
and executephp artisan migrate
to create the actual tables
- localhost:80 - SIWECOS BLA API
- localhost:3306 - MariaDB Container, connect with user root and password changeme
- localhost:8025 - local Mailhog server
NB: In most cases you don't need to use this repo!
Just use the hosted variant on https://siwecos.de or use the SIWECOS/docker-compose-scanners for hosting the core functionality of SIWECOS by yourself.
You have to choices here:
- a) you do your local changes, build a local container and update the image name in this repos's docker-compose.yml
- b) you mount your local copy of the code as a volume of the corresponding container of this repo's docker-compose.yml