Commit Graph

23 Commits

Author SHA1 Message Date
Tweeticoats 3981a781b9
This adds extra libraries required by scrapers: requests-toolbelt lxml cloudscraper (#1381)
This installs pip in the prep environment, uses this to install cloudscraper then copies this to the final application container.
2021-05-25 10:48:06 +10:00
WithoutPants f6ffda7504
Setup and migration UI refactor (#1190)
* Make config instance-based
* Remove config dependency in paths
* Refactor config init
* Allow startup without database
* Get system status at UI initialise
* Add setup wizard
* Cache and Metadata optional. Database mandatory
* Handle metadata not set during full import/export
* Add links
* Remove config check middleware
* Stash not mandatory
* Panic on missing mandatory config fields
* Redirect setup to main page if setup not required
* Add migration UI
* Remove unused stuff
* Move UI initialisation into App
* Don't create metadata paths on RefreshConfig
* Add folder selector for generated in setup
* Env variable to set and create config file.
Make docker images use a fixed config file.
* Set config file during setup
2021-04-12 09:31:33 +10:00
Tweeticoats 3f9b395b89
build arm and x86_64 docker containers (#1097) 2021-02-19 10:38:13 +11:00
WithoutPants 093b997eb1
Login to docker before building image (#1067) 2021-01-19 11:11:10 +11:00
WithoutPants 629126df98
Update to golang 1.13 (#754)
* Update to use golang 1.13
* Update node and ubuntu versions
* Update compiler version
2020-09-11 10:43:41 +10:00
WithoutPants 1258a5e3f4
Remove echo statements 2020-08-31 13:13:10 +10:00
WithoutPants 0345bc9ef7
Make travis build and push docker images (#772) 2020-08-31 12:04:05 +10:00
WithoutPants ae24fc2d3c
Fix prod dockerfile to not pick up arm builds 2020-08-30 14:50:36 +10:00
WithoutPants ba442e8d90
Fix develop dockerfile to not pick up arm binaries 2020-08-30 14:42:46 +10:00
WithoutPants f7a45f9d10
Cross compile for armv7/armv8, raise raspi variant to armv6 (only) (#737)
* Add arm cross compile changes from #602
* Bump pi arm version
* Prevent caching of yarn key
* Add dockerignore for build dockerfile
2020-08-20 09:27:54 +10:00
InfiniteTF aee9df966b
Cut over to v2.5 UI (#433)
* Cut over to v2.5 UI
* Use node 12 in travis
* Remove unnecessary `nvm use`
* Update docker file
2020-04-03 08:46:23 +11:00
WithoutPants 691a8c23c0
Dockerfiles for production, develop and build (#364)
* Separate develop and production dockerfiles
* Add build docker file
* Fix curl http2 framing error
* updated MAINTAINER
* Add README for build dockerfile
* Remove stash user from docker files

Co-authored-by: Leopere <1068374+Leopere@users.noreply.github.com>
2020-02-24 11:40:56 +11:00
WithoutPants 3c1eeb3d47
Prepare for 0.1.0 release (#345)
* Tag develop builds as latest. Version in makefile
* Rename latest to latest_develop
* Update GetLatestVersion
* Separate master and develop releases
* Add release date back into development version
* Remove unused code
* Two minute limit per file to upload to transfer.sh
2020-02-07 06:39:08 +11:00
ThUnD3r|Gr33n 066295f0c9
Fix to avoid creating generated folder inside data folder. (#335)
* Fix to avoid creating generated folder inside data folder. 

This Fix is to avoid that ```generated``` folder will be created inside the movie /video files forder which leads to see the generated clips of the movies in SCENES.

* Update docker-compose.yml

Added generated volume , removed transcoded as it wasn't needed.
All volumes remain with relative paths as suggested.

Co-authored-by: bnkai <48220860+bnkai@users.noreply.github.com>
2020-02-01 14:55:22 -05:00
WithoutPants ec2a8d0dc6 Add Raspberry Pi binary to builds (#189)
* Add Raspberry Pi binary to builds

* Attempt to add arm cross compile to dockerfile

* WIP fix for OSX crosscompiler

* WIP docker build debug

* Fix errors building docker image
2019-11-15 17:29:45 -05:00
Leopere d4f383a005
Merge pull request #129 from joyov/patch-1
Install ca-certificates in Docker container
2019-10-07 20:00:00 -04:00
joyov 0787ead25e
Install ca-certificates in Docker container 2019-10-07 17:46:32 +00:00
ExceptionalError 8cc2766244
fix docker tag
fix docker tag so it works with dockerhub (fixes #111)
2019-08-29 18:10:39 +02:00
Leopere 30a2a2cf00
Fix #61
Fixes #61 added ca-certificates and updated them.
2019-06-10 18:03:02 -04:00
Leopere 69917999ef Updated port EXPOSE 2019-05-09 14:52:52 -07:00
Leopere e8515f0daf
Docker installation instructions. 2019-04-28 13:47:47 -04:00
Leopere 83ee83c2fa Dockerfile for production. (#44)
* Stealing good ideas from DockSTARTer

* Pushing an example WIP

* Actually ran and debugged container and it works now.
TODO: We need configurability for this to be more useful.

* Prepped docker-compose for if we get these envvars coded in.

* Removed unnecessary start.sh

* Removed env.example

* Fixed internal directory to conform more.

Resovles https://github.com/stashapp/stash/pull/44#issuecomment-485060195

* Logging options need quotes.

* I decided to use architecture tags since go-releaser can do multiple architectures.

* Compose version version: '3.4'

* No relative pathing on container side of volume
2019-04-24 10:10:26 -07:00
Stash Dev 1a2c53a710 CI Improvements
Added a custom docker compiler image which includes the packr2 dependency
2019-03-05 13:14:00 -08:00