Closed changchichung closed 3 years ago
You need to create a Zipline.toml (you can use an example one from https://zipline.diced.wtf/docs/config/example/)
can I generate Zipline.toml without install by npm i
?
for example , I want to use sqllite as DB backend . but I dont know what's exactlly the syntax in config.
can I generate Zipline.toml without install by
npm i
? for example , I want to use sqllite as DB backend . but I dont know what's exactlly the syntax in config.
yes that's why I pointed towards the example config.
Describe the bug docker-compose won't start
[bcrypt] Success: "/opt/zipline/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote
Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db AMP OPTIMIZER Downloaded latest AMP runtime data. npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/webpack/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1327 packages from 835 contributors and audited 1336 packages in 44.664s
91 packages are looking for funding run
npm fund
for detailsfound 5 vulnerabilities (4 low, 1 high) run
npm audit fix
to fix them, ornpm audit
for details Removing intermediate container 08036a204853 ---> 56150b05dbdc Step 5/8 : RUN npm run build ---> Running in 3956ca9860baBrowserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db info - Creating an optimized production build... Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry
info - Compiled successfully info - Collecting page data... info - Generating static pages (0/11) info - Generating static pages (2/11) info - Generating static pages (5/11) info - Generating static pages (8/11) info - Generating static pages (11/11) info - Finalizing page optimization...
Page Size First Load JS ┌ ○ / 239 B 99.1 kB ├ /_app 0 B 98.8 kB ├ ○ /404 5.48 kB 104 kB ├ ● /dash 1.05 kB 357 kB ├ ● /dash/images 4.28 kB 360 kB ├ ○ /dash/statistics 2.44 kB 356 kB ├ ○ /dash/upload 15.4 kB 369 kB ├ ● /dash/urls 2.94 kB 360 kB ├ ○ /dash/users 4.45 kB 362 kB ├ ○ /user/login 4.33 kB 132 kB ├ ● /user/manage 2.18 kB 360 kB └ ○ /user/setup 2.46 kB 130 kB
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) ○ (Static) automatically rendered as static HTML (uses no initial props) ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps) (ISR) incremental static regeneration (uses revalidate in getStaticProps)
Removing intermediate container 3956ca9860ba ---> bbe23839168f Step 6/8 : ENV NODE_ENV=production ---> Running in e75681ef027c Removing intermediate container e75681ef027c ---> ed24a4582f9c Step 7/8 : EXPOSE 8000 ---> Running in 2bbddab9bcde Removing intermediate container 2bbddab9bcde ---> 15c7b05270bc Step 8/8 : CMD ["node", "dist"] ---> Running in 520b412778c3 Removing intermediate container 520b412778c3 ---> 7774233226dd Successfully built 7774233226dd Successfully tagged zipline_zipline:latest WARNING: Image for service zipline was built because it did not already exist. To rebuild this image you must use
docker-compose build
ordocker-compose up --build
. Creating zipline_zipline_1 ... donechchang@hqdc039:~/git/zipline$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e8a68b08a638 zipline_zipline "docker-entrypoint.s…" 2 minutes ago Exited (0) 2 minutes ago zipline_zipline_1
chchang@hqdc039:~/git/zipline$ docker logs zipline_zipline_1 [4/20/2021 3:09:11 AM] [configuration] error: could not find a Zipline.toml file in /opt/zipline