tiifuchs / linkr-docker Goto Github PK
View Code? Open in Web Editor NEWDocker image for linkr URL shortener.
Docker image for linkr URL shortener.
First, thanks for this package. I am trying now...
Anyone tried a build lately? I'm trying on my server running alpine 3.11 using latest docker...should just work, right?
Pulling mysql (mariadb:)...
latest: Pulling from library/mariadb
5c939e3a4d10: Pull complete
c63719cdbe7a: Pull complete
19a861ea6baf: Pull complete
651c9d2d6c4f: Pull complete
077e14009561: Pull complete
5f038f59a326: Pull complete
1b0216466f21: Pull complete
1b0570aa273a: Pull complete
37a3d332e397: Pull complete
c6d79b4558a5: Pull complete
02ee031466e7: Pull complete
4b07db1ea2c8: Pull complete
ae2075ab7b06: Pull complete
2055e2675cd5: Pull complete
Digest: sha256:57bd9e5d5931b27fd89c9c619e2449627e584dafa11a494742cb1a59825ae8ab
Status: Downloaded newer image for mariadb:latest
Creating thebandwork_mysql_1 ... done
Pulling linkr (tiirex9/linkr:)...
latest: Pulling from tiirex9/linkr
cd784148e348: Pull complete
3c1a9ba32ed5: Pull complete
ad2301f3cf66: Pull complete
cfb663da48b1: Pull complete
9f77f4d98c27: Pull complete
f8c4fc839a12: Pull complete
4d293807ae4f: Pull complete
a1995ab60eb2: Pull complete
dad0d2fa27d8: Pull complete
a0c4d0e9907f: Pull complete
Digest: sha256:c8bf65a30ac667f9d6c18948ea7407cc9f629d78a4852f8a4a09c1e2be927a75
Status: Downloaded newer image for tiirex9/linkr:latest
> [email protected] build /linkr
> npm run generate-secret && npm run build-css && npm run build-js && npm run build-html
> [email protected] generate-secret /linkr
> PYTHONPATH=. python scripts/generate_secret.py
Generated a new secret.
> [email protected] build-css /linkr
> mkdir -p frontend/static/dist && node-sass --output-style compressed frontend/styles/ma
in.scss frontend/static/dist/main.css
Rendering Complete, saving .css file...
Wrote CSS to /linkr/frontend/static/dist/main.css
> [email protected] build-js /linkr
> mkdir -p frontend/static/dist && webpack --config frontend/config/webpack
Hash: 5cb53467a0c4f1752d5d
Version: webpack 3.12.0
Time: 15148ms
Asset Size Chunks Chunk Names
bundle.js 507 kB 0 [emitted] [big] bundle
[89] ./scripts/client.js + 67 modules 319 kB {0} [built]
[159] ./resources/blobs/fonts/karla-bold.txt 23.8 kB {0} [built]
[160] ./resources/blobs/fonts/karla-regular.txt 22.4 kB {0} [built]
[161] ./resources/blobs/fonts/source-code-pro-medium.txt 41.1 kB {0} [built]
[162] ./resources/blobs/fonts/source-code-pro-regular.txt 36.7 kB {0} [built]
+ 220 hidden modules
> [email protected] build-html /linkr
> PYTHONPATH=. python scripts/build_html.py
/linkr/env/lib/python2.7/site-packages/raven/conf/remote.py:90: UserWarning: Transport se
lection via DSN is deprecated. You should explicitly pass the transport class to Client()
instead.
warnings.warn('Transport selection via DSN is deprecated. You should explicitly pass th
e transport class to Client() instead.')
Traceback (most recent call last):
File "scripts/build_html.py", line 1, in <module>
import linkr # flake8: noqa: F401
File "/linkr/linkr.py", line 7, in <module>
sentry = core.app.init_sentry()
File "/linkr/core/app.py", line 60, in init_sentry
sentry.init_app(app)
File "/linkr/env/lib/python2.7/site-packages/raven/contrib/flask.py", line 269, in init
_app
self.client = make_client(self.client_cls, app, self.dsn)
File "/linkr/env/lib/python2.7/site-packages/raven/contrib/flask.py", line 50, in make_client
'app': app,
File "/linkr/env/lib/python2.7/site-packages/raven/base.py", line 164, in __init__
self.set_dsn(dsn, transport)
File "/linkr/env/lib/python2.7/site-packages/raven/base.py", line 233, in set_dsn
transport_registry=self._registry,
File "/linkr/env/lib/python2.7/site-packages/raven/conf/remote.py", line 98, in from_string
raise InvalidDsn(ERR_UNKNOWN_SCHEME.format(url.scheme, value))
raven.exceptions.InvalidDsn: Unsupported Sentry DSN scheme: (null)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-html: `PYTHONPATH=. python scripts/build_html.py`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-html script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-21T23_53_26_979Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `npm run generate-secret && npm run build-css && npm run build-js && npm run build-html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-21T23_53_27_001Z-debug.log
Waiting for database....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Currently at...db loading forever.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.