Snipe-IT was made for IT asset management, to enable IT departments to track who has which laptop, when it was purchased, which software licenses and accessories are available, and so on.
docker-compose.yml is for secure network. (etc. in VPN) Therefore, don't use insecure network like global network.
-
Replace
<<>>
in docker-compose.yml and env, and run below command. Not need to replace<<APP KEY>>
of env in this time.$ docker-compose up -d
-
Enter Snipe-IT app container by below command.
$ docker exec -i -t snipe-it-app bash
-
Generate app key by below command in container.
# php artisan key:generate
-
Go out container by below comamnd, and note app key
base64:...=
.# exit
-
Replace
<<APP KEY>>
of env. -
Restart Snipe-IT
$ docker-compose restart
Save <<YOUR DIRECTORY PATH>>
of volumes, docker-compose.yml and env.
- Deploy
<<YOUR DIRECTORY PATH>>
. - Run
$ docker-compose up -d
.