Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Cedric\Desktop\Development\ETNA\TIC-API3\my_youtube>docker-compose up --build
- Building api
- Step 1/9 : FROM ruby:2.5.0
- ---> 213a086149f6
- Step 2/9 : RUN apt-get update -qq && apt-get install -y build-essential
- ---> Using cache
- ---> 9463162b11a6
- Step 3/9 : WORKDIR /app
- ---> Using cache
- ---> 8a4fb6d02a05
- Step 4/9 : ADD ./youtube-api/Gemfile* /app/
- ---> Using cache
- ---> c5a76849b5f6
- Step 5/9 : RUN gem install bundler
- ---> Using cache
- ---> 2ddc22c764b7
- Step 6/9 : RUN bundle install
- ---> Using cache
- ---> 5ed0f075c92c
- Step 7/9 : ADD ./youtube-api/ /app/
- ---> Using cache
- ---> 365d0476c6ee
- Step 8/9 : ADD ./launch.sh /app/
- ---> Using cache
- ---> 166385e17df5
- Step 9/9 : CMD bash launch.sh
- ---> Using cache
- ---> cfb748a87d51
- Successfully built cfb748a87d51
- Successfully tagged my_youtube_api:latest
- Building mailing_api
- Step 1/6 : FROM ubuntu:latest
- ---> 4c108a37151f
- Step 2/6 : RUN apt-get update -y
- ---> Using cache
- ---> ed2825d3e911
- Step 3/6 : RUN apt-get install -y python3-pip python3-dev build-essential
- ---> Using cache
- ---> 2acd60d32882
- Step 4/6 : WORKDIR /app
- ---> Using cache
- ---> 970caaa1f651
- Step 5/6 : RUN pip3 install flask
- ---> Using cache
- ---> a9536c7a270c
- Step 6/6 : CMD python3 app.py
- ---> Using cache
- ---> f72bf987e768
- Successfully built f72bf987e768
- Successfully tagged my_youtube_mailing_api:latest
- Building encoding
- Step 1/7 : FROM ubuntu:latest
- ---> 4c108a37151f
- Step 2/7 : RUN apt-get update -y && apt-get install -y python3-pip python3-dev build-essential ffmpeg
- ---> Using cache
- ---> a8bec39ea3ac
- Step 3/7 : WORKDIR /app
- ---> Using cache
- ---> 5f253d7e9a23
- Step 4/7 : RUN pip3 install flask
- ---> Using cache
- ---> b7ae5493baad
- Step 5/7 : COPY requirements.txt /
- ---> Using cache
- ---> 605187a4556e
- Step 6/7 : RUN pip3 install -r /requirements.txt
- ---> Using cache
- ---> 83cc5a9556b3
- Step 7/7 : CMD python app.py
- ---> Using cache
- ---> 27b180bbfd15
- Successfully built 27b180bbfd15
- Successfully tagged my_youtube_encoding:latest
- Building website
- Step 1/9 : FROM node:latest
- ---> b074182f4154
- Step 2/9 : RUN apt-get update -y
- ---> Using cache
- ---> fd099c1ff469
- Step 3/9 : RUN apt-get install -y build-essential
- ---> Using cache
- ---> 3b77f905fa42
- Step 4/9 : WORKDIR /app
- ---> Using cache
- ---> f66ae88f920d
- Step 5/9 : RUN npm install -y
- ---> Using cache
- ---> a6139fc6c7fc
- Step 6/9 : RUN npm install nodemon -gy
- ---> Using cache
- ---> ebe9583e839e
- Step 7/9 : COPY ./launch.sh /.
- ---> Using cache
- ---> 82ec558d6e8d
- Step 8/9 : ENTRYPOINT ["bash"]
- ---> Using cache
- ---> d4e8f5c7deb9
- Step 9/9 : CMD ["/launch.sh"]
- ---> Using cache
- ---> b1b92c1fd154
- Successfully built b1b92c1fd154
- Successfully tagged my_youtube_website:latest
- Starting api_db ... done
- Starting api ... done
- Starting website ... done
- Starting mailing ... done
- Starting encoding ... done
- Starting mailing_api ... done
- Attaching to api_db, api, encoding, website, mailing, mailing_api
- api_db | 2019-06-20T12:02:38.947426Z 0 [Note] Basedir set to /usr/
- api_db | 2019-06-20T12:02:38.947619Z 0 [Warning] The syntax '--symbolic-links/-s' is deprecated and will be removed in a future release
- api_db | 2019-06-20T12:02:38.948676Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
- api_db | 2019-06-20T12:02:38.948756Z 0 [Note] /usr/sbin/mysqld (mysqld 8.0.3-rc-log) starting as process 1 ...
- api_db | 2019-06-20T12:02:38.989086Z 0 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=1270f0f74772-bin' to avoid this problem.
- api_db | 2019-06-20T12:02:38.997465Z 0 [Note] InnoDB: Using Linux native AIO
- api_db | 2019-06-20T12:02:38.997576Z 0 [Note] Plugin 'FEDERATED' is disabled.
- api_db | 2019-06-20T12:02:39.002339Z 1 [Note] InnoDB: PUNCH HOLE support available
- api_db | 2019-06-20T12:02:39.002395Z 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- api_db | 2019-06-20T12:02:39.002404Z 1 [Note] InnoDB: Uses event mutexes
- api_db | 2019-06-20T12:02:39.002409Z 1 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- api_db | 2019-06-20T12:02:39.002415Z 1 [Note] InnoDB: Compressed tables use zlib 1.2.11
- api_db | 2019-06-20T12:02:39.002789Z 1 [Note] InnoDB: Number of pools: 1
- api_db | 2019-06-20T12:02:39.002924Z 1 [Note] InnoDB: Using CPU crc32 instructions
- api_db | 2019-06-20T12:02:39.004475Z 1 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
- api_db | libnuma: Warning: /sys not mounted or invalid. Assuming one node: No such file or directory
- api_db | mbind: Operation not permitted
- api_db | mbind: Operation not permitted
- api_db | 2019-06-20T12:02:39.016743Z 1 [Note] InnoDB: Completed initialization of buffer pool
- encoding | /bin/sh: 1: python: not found
- api_db | 2019-06-20T12:02:39.019158Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
- api_db | 2019-06-20T12:02:39.267529Z 1 [Note] InnoDB: Using 'tablespaces.open.2' max LSN: 26422453
- api_db | 2019-06-20T12:02:39.277830Z 1 [Note] InnoDB: Applying a batch of 0 redo log records ...
- api_db | 2019-06-20T12:02:39.277859Z 1 [Note] InnoDB: Apply batch completed!
- api_db | 2019-06-20T12:02:39.523736Z 1 [Note] InnoDB: Opened 2 existing undo tablespaces.
- api_db | 2019-06-20T12:02:39.642198Z 1 [Note] InnoDB: Creating shared tablespace for temporary tables
- api_db | 2019-06-20T12:02:39.643393Z 1 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
- api_db | 2019-06-20T12:02:40.046540Z 1 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
- api_db | 2019-06-20T12:02:40.054500Z 1 [Note] InnoDB: Created 128 and tracked 128 new rollback segment(s) in the temporary tablespace. 128 are now active.
- api_db | 2019-06-20T12:02:40.058064Z 1 [Note] InnoDB: 8.0.3 started; log sequence number 26422630
- api_db | 2019-06-20T12:02:40.303593Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
- api_db | 2019-06-20T12:02:40.323690Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190620 12:02:40
- api_db | 2019-06-20T12:02:40.325973Z 1 [Note] Found data dictionary with version 1
- api_db | 2019-06-20T12:02:40.347979Z 0 [Note] InnoDB: DDL log recovery : begin
- api_db | 2019-06-20T12:02:40.348069Z 0 [Note] InnoDB: DDL log recovery : end
- api_db | 2019-06-20T12:02:40.348220Z 0 [Note] InnoDB: Waiting for purge to start
- api_db | 2019-06-20T12:02:40.462867Z 0 [Warning] You have not provided a mandatory server-id. Servers in a replication topology must have unique server-ids. Please refer to the proper server start-up parameters documentation.
- api_db | 2019-06-20T12:02:40.482602Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using
- them.
- api_db | 2019-06-20T12:02:40.490590Z 0 [Warning] CA certificate ca.pem is self signed.
- api_db | 2019-06-20T12:02:40.497959Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
- api_db | 2019-06-20T12:02:40.498044Z 0 [Note] IPv6 is available.
- api_db | 2019-06-20T12:02:40.498060Z 0 [Note] - '::' resolves to '::';
- api_db | 2019-06-20T12:02:40.498110Z 0 [Note] Server socket created on IP: '::'.
- api_db | 2019-06-20T12:02:40.527000Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.527303Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.527336Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.527379Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.527426Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.527447Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.737231Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:40.737273Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
- api_db | 2019-06-20T12:02:41.047292Z 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '8.0.3-rc-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
- api_db | 2019-06-20T12:02:41.053896Z 4 [Note] Event Scheduler: scheduler thread started with id 4
- mailing | 2019-06-20 12:02:45,870 CRIT Supervisor running as root (no user in config file)
- mailing | 2019-06-20 12:02:45,871 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
- mailing | Unlinking stale socket /var/run/supervisor.sock
- mailing | 2019-06-20 12:02:46,342 INFO RPC interface 'supervisor' initialized
- mailing | 2019-06-20 12:02:46,342 CRIT Server 'unix_http_server' running without any HTTP authentication checking
- mailing | 2019-06-20 12:02:46,342 INFO supervisord started with pid 7
- mailing | 2019-06-20 12:02:47,352 INFO spawned: 'postfix' with pid 10
- mailing | 2019-06-20 12:02:47,355 INFO spawned: 'rsyslog' with pid 11
- mailing | 2019-06-20 12:02:48,955 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
- mailing | 2019-06-20 12:02:48,956 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
- mailing_api | * Serving Flask app "app" (lazy loading)
- mailing_api | * Environment: production
- mailing_api | WARNING: This is a development server. Do not use it in a production deployment.
- mailing_api | Use a production WSGI server instead.
- mailing_api | * Debug mode: on
- mailing_api | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
- mailing_api | * Restarting with stat
- mailing_api | Traceback (most recent call last):
- mailing_api | File "app.py", line 51, in <module>
- mailing_api | app.run(debug=True,host='0.0.0.0')
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 944, in run
- mailing_api | run_simple(host, port, self, **options)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 1007, in run_simple
- mailing_api | run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 332, in run_with_reloader
- mailing_api | sys.exit(reloader.restart_with_reloader())
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
- mailing_api | exit_code = subprocess.call(args, env=new_environ, close_fds=False)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 287, in call
- mailing_api | with Popen(*popenargs, **kwargs) as p:
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
- mailing_api | restore_signals, start_new_session)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
- mailing_api | raise child_exception_type(errno_num, err_msg, err_filename)
- mailing_api | OSError: [Errno 8] Exec format error: '/app/app.py'
- encoding exited with code 127
- mailing_api | * Serving Flask app "app" (lazy loading)
- mailing_api | * Environment: production
- mailing_api | WARNING: This is a development server. Do not use it in a production deployment.
- mailing_api | Use a production WSGI server instead.
- mailing_api | * Debug mode: on
- mailing_api | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
- mailing_api | * Restarting with stat
- mailing_api | Traceback (most recent call last):
- mailing_api | File "app.py", line 51, in <module>
- mailing_api | app.run(debug=True,host='0.0.0.0')
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 944, in run
- mailing_api | run_simple(host, port, self, **options)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 1007, in run_simple
- mailing_api | run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 332, in run_with_reloader
- mailing_api | sys.exit(reloader.restart_with_reloader())
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
- mailing_api | exit_code = subprocess.call(args, env=new_environ, close_fds=False)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 287, in call
- mailing_api | with Popen(*popenargs, **kwargs) as p:
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
- mailing_api | restore_signals, start_new_session)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
- mailing_api | raise child_exception_type(errno_num, err_msg, err_filename)
- mailing_api | OSError: [Errno 8] Exec format error: '/app/app.py'
- encoding exited with code 127
- mailing_api exited with code 1
- encoding exited with code 127
- website | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
- website | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- website | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents):
- website | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- website |
- website | audited 12293 packages in 17.634s
- website | found 0 vulnerabilities
- website |
- website |
- website | > my_youtube@1.0.0 build /app
- website | > nuxt build
- website |
- mailing_api exited with code 1
- website | ℹ Production build
- website | ✔ Builder initialized
- encoding exited with code 127
- website | ✔ Nuxt files generated
- Exception in thread Thread-23:
- Traceback (most recent call last):
- File "site-packages\docker\api\client.py", line 246, in _raise_for_status
- File "site-packages\requests\models.py", line 940, in raise_for_status
- requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localnpipe/v1.38/containers/4e381621e7fc2ee09628b9d755cc1b95b2e4de777b1a8a51c46c243f1617eff3/attach?logs=0&stdout=1&stderr=1&stream=1
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "threading.py", line 916, in _bootstrap_inner
- File "threading.py", line 864, in run
- File "compose\cli\log_printer.py", line 233, in watch_events
- File "compose\container.py", line 215, in attach_log_stream
- File "compose\container.py", line 307, in attach
- File "site-packages\docker\utils\decorators.py", line 19, in wrapped
- File "site-packages\docker\api\container.py", line 57, in attach
- File "site-packages\docker\api\client.py", line 385, in _read_from_socket
- File "site-packages\docker\api\client.py", line 296, in _get_raw_response_socket
- File "site-packages\docker\api\client.py", line 248, in _raise_for_status
- File "site-packages\docker\errors.py", line 19, in create_api_error_from_http_exception
- File "site-packages\requests\models.py", line 880, in json
- File "site-packages\requests\models.py", line 828, in content
- File "site-packages\requests\models.py", line 750, in generate
- File "site-packages\urllib3\response.py", line 494, in stream
- File "site-packages\urllib3\response.py", line 442, in read
- File "http\client.py", line 449, in read
- File "http\client.py", line 493, in readinto
- File "site-packages\docker\transport\npipesocket.py", line 209, in readinto
- File "site-packages\docker\transport\npipesocket.py", line 20, in wrapped
- RuntimeError: Can not reuse socket after connection was closed.
- mailing_api | * Serving Flask app "app" (lazy loading)
- mailing_api | * Environment: production
- mailing_api | WARNING: This is a development server. Do not use it in a production deployment.
- mailing_api | Use a production WSGI server instead.
- mailing_api | * Debug mode: on
- mailing_api | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
- mailing_api | * Restarting with stat
- mailing_api | Traceback (most recent call last):
- mailing_api | File "app.py", line 51, in <module>
- mailing_api | app.run(debug=True,host='0.0.0.0')
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 944, in run
- mailing_api | run_simple(host, port, self, **options)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 1007, in run_simple
- mailing_api | run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 332, in run_with_reloader
- mailing_api | sys.exit(reloader.restart_with_reloader())
- mailing_api | File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
- mailing_api | exit_code = subprocess.call(args, env=new_environ, close_fds=False)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 287, in call
- mailing_api | with Popen(*popenargs, **kwargs) as p:
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
- mailing_api | restore_signals, start_new_session)
- mailing_api | File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
- mailing_api | raise child_exception_type(errno_num, err_msg, err_filename)
- mailing_api | OSError: [Errno 8] Exec format error: '/app/app.py'
- website | ℹ Compiling Client
- api_db | mbind: Operation not permitted
- mailing_api exited with code 1
- website | ✔ Client: Compiled successfully in 21.87s
- website | ℹ Compiling Server
- website | ✔ Server: Compiled successfully in 5.50s
- website |
- website | Hash: 81c6e61d1b7dfde1a5c5
- website | Version: webpack 4.33.0
- website | Time: 21877ms
- website | Built at: 06/20/2019 12:03:33 PM
- website | Asset Size Chunks Chunk Names
- website | ../server/client.manifest.json 8.3 KiB [emitted]
- website | 0644c8c5be7fc279c0d3.js 444 bytes 2 [emitted] pages/index
- website | 446a1bbb4b62edc25308.js 56.6 KiB 0 [emitted] app
- website | 585c99803986ba6a716b.js 171 KiB 1 [emitted] commons.app
- website | 61891f5f7c3a3feb0856.js 2.31 KiB 6 [emitted] runtime
- website | 7370820cb94f8b30b1a7.js 4.16 KiB 5 [emitted] pages/register
- website | LICENSES 733 bytes [emitted]
- website | d001fa9b1fd842d5f7a3.js 722 bytes 4 [emitted] pages/profile
- website | ec44dffe0d5721fae89e.js 2.73 KiB 3 [emitted] pages/login
- website | + 2 hidden assets
- website | Entrypoint app = 61891f5f7c3a3feb0856.js 585c99803986ba6a716b.js 446a1bbb4b62edc25308.js
- website |
- website | Hash: d18db7e2dfa4d15ca993
- website | Version: webpack 4.33.0
- website | Time: 5499ms
- website | Built at: 06/20/2019 12:03:39 PM
- website | Asset Size Chunks Chunk Names
- website | 6c3d704ef8f37505e7df.js 1.91 KiB 2 [emitted] pages/login
- website | ae8973e8a85646c154bb.js 394 bytes 1 [emitted] pages/index
- website | c600ad36e568abf5cd9f.js 2.69 KiB 4 [emitted] pages/register
- website | d614463caa7d3386ba8f.js 725 bytes 3 [emitted] pages/profile
- website | server.js 38.3 KiB 0 [emitted] app
- website | server.manifest.json 603 bytes [emitted]
- website | + 5 hidden assets
- website | Entrypoint app = server.js server.js.map
- website |
- website | > my_youtube@1.0.0 dev /app
- website | > nuxt
- website |
- website | ℹ Listening on: http://172.18.0.4:5000/
- website | ℹ Preparing project for development
- website | ℹ Initial build may take a while
- website | ✔ Builder initialized
- website | ✔ Nuxt files generated
- website | ℹ Compiling Client
- website | ℹ Compiling Server
- website | ✔ Server: Compiled successfully in 10.23s
- website | ✔ Client: Compiled successfully in 11.86s
- website | ℹ Waiting for file changes
- website | ℹ Memory usage: 143 MB (RSS: 226 MB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement