Closed sparklyballs closed 6 years ago
The build arg is due to this being a clean new repo we can debut on the pipeline system. Why the Jenkinsfile is there.
As far as seeing it work here is a compose file and build command: (these are in discord)
sudo docker build --build-arg SNIPEIT_RELEASE=v4.4.1 -t snipetest .
version: "3"
services:
snipe-it:
image: snipetest:latest
container_name: test_snipeit
restart: always
environment:
- PUID=1000
- PGID=1000
- MYSQL_PORT_3306_TCP_ADDR=mysqldb
- MYSQL_DATABASE=snipeit
- MYSQL_USER=snipeit
- MYSQL_PASSWORD=password
- APP_URL=<youriphere>:8080
restart: always
depends_on:
- mysqldb
volumes:
- "/dockerstorage/snipeit:/config"
ports:
- "8080:80"
- "4443:443"
mysqldb:
image: mysql:5.6
container_name: test_mysql
restart: always
environment:
- MYSQL_DATABASE=snipeit
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=snipeit
- MYSQL_PASSWORD=password
restart: always
volumes:
- "/dockerstorage/mysql:/var/lib/mysql"
I tested it locally and the logic is sound, folders are generated properly, much better system to read current dirs.
Thanks, team linuxserver.io
Don't know if busted app cos not really sure what it is and how to setup etc but changes above make it more house compliant etc...... may need further changes but that'll do for a first run through