Created
December 9, 2022 03:47
-
-
Save RedBoardDev/f649cd1d9d73e861e8bc18eea8c90ea0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building db | |
Sending build context to Docker daemon 3.584kB | |
Step 1/3 : FROM mysql | |
---> a3a2968869cf | |
Step 2/3 : EXPOSE 3306 | |
---> Using cache | |
---> e55a390d7313 | |
Step 3/3 : COPY ./api-db.sql /docker-entrypoint-initdb.d/ | |
---> Using cache | |
---> ce0d2b186437 | |
Successfully built ce0d2b186437 | |
Successfully tagged app-docker_db:latest | |
Building api-database | |
Sending build context to Docker daemon 82.94kB | |
Step 1/7 : FROM node:15-alpine | |
---> 75631da67663 | |
Step 2/7 : WORKDIR /app | |
---> Using cache | |
---> 722f21d5e1f7 | |
Step 3/7 : COPY ["package*.json", "./"] | |
---> Using cache | |
---> 601252add156 | |
Step 4/7 : RUN npm install | |
---> Using cache | |
---> 4ac66cb30b83 | |
Step 5/7 : COPY . . | |
---> Using cache | |
---> b89a7bf1d6b6 | |
Step 6/7 : EXPOSE 3000 | |
---> Using cache | |
---> ac03f381594f | |
Step 7/7 : CMD ["node", "src/index.js"] | |
---> Using cache | |
---> 25bae440055f | |
Successfully built 25bae440055f | |
Successfully tagged app-docker_api-database:latest | |
Building my-epitech-relay | |
Sending build context to Docker daemon 106.5kB | |
Step 1/8 : FROM node:12-stretch | |
---> 6c8de432fc7f | |
Step 2/8 : RUN apt-get update && apt-get install chromium -y | |
---> Using cache | |
---> b04213ba7d0a | |
Step 3/8 : COPY . /usr/src/app | |
---> 08f4e9c700d0 | |
Step 4/8 : WORKDIR /usr/src/app | |
---> Running in 7a9e529d8615 | |
Removing intermediate container 7a9e529d8615 | |
---> 62359df5e481 | |
Step 5/8 : RUN npm install | |
---> Running in 0f38165fb3fa | |
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! | |
> puppeteer@13.0.1 install /usr/src/app/node_modules/puppeteer | |
> node install.js | |
Chromium (938248) downloaded to /usr/src/app/node_modules/puppeteer/.local-chromium/linux-938248 | |
npm WARN my-epitech-relay@0.1.0 No description | |
npm WARN my-epitech-relay@0.1.0 No repository field. | |
added 123 packages from 145 contributors and audited 123 packages in 32.364s | |
10 packages are looking for funding | |
run `npm fund` for details | |
found 7 vulnerabilities (1 moderate, 6 high) | |
run `npm audit fix` to fix them, or `npm audit` for details | |
Removing intermediate container 0f38165fb3fa | |
---> b9547c007b78 | |
Step 6/8 : RUN npm run build | |
---> Running in 984eaae6aac1 | |
> my-epitech-relay@0.1.0 build /usr/src/app | |
> tsc | |
Removing intermediate container 984eaae6aac1 | |
---> 084781ba74dc | |
Step 7/8 : EXPOSE 8090 | |
---> Running in 1ba1ec9023f9 | |
Removing intermediate container 1ba1ec9023f9 | |
---> 4946a1daf48b | |
Step 8/8 : CMD ["npm", "start"] | |
---> Running in 91dc259b5c82 | |
Removing intermediate container 91dc259b5c82 | |
---> aea260b21406 | |
Successfully built aea260b21406 | |
Successfully tagged app-docker_my-epitech-relay:latest | |
WARNING: Found orphan containers (app-docker_web_1, app-docker_database_1, app-docker_apidb_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. | |
Removing app-docker_my-epitech-relay_1 ... done | |
Removing app-docker_api-database_1 ... done | |
Removing app-docker_db_1 ... done | |
Removing network app-docker_default | |
Creating network "app-docker_default" with the default driver | |
WARNING: Found orphan containers (app-docker_apidb_1, app-docker_web_1, app-docker_database_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. | |
Creating app-docker_db_1 ... done | |
Creating app-docker_api-database_1 ... done | |
Creating app-docker_my-epitech-relay_1 ... done | |
Attaching to app-docker_db_1, app-docker_api-database_1, app-docker_my-epitech-relay_1 | |
db_1 | 2022-12-09 03:46:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.31-1.el8 started. | |
db_1 | 2022-12-09 03:46:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' | |
api-database_1 | db relay passwords moulibot | |
api-database_1 | App listening at http://localhost:3000 | |
db_1 | 2022-12-09 03:46:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.31-1.el8 started. | |
db_1 | 2022-12-09 03:46:39+00:00 [Note] [Entrypoint]: Initializing database files | |
api-database_1 | /app/src/index.js:9 | |
api-database_1 | if (err) throw new Error(`Failed to connect to database ${glob.myenv.MYSQL_DATABASE}`); | |
api-database_1 | ^ | |
api-database_1 | | |
api-database_1 | Error: Failed to connect to database moulibot | |
api-database_1 | at /app/src/index.js:9:20 | |
api-database_1 | at Connection.<anonymous> (/app/node_modules/mysql2/lib/connection.js:775:13) | |
api-database_1 | at Object.onceWrapper (node:events:476:26) | |
api-database_1 | at Connection.emit (node:events:369:20) | |
api-database_1 | at Connection._notifyError (/app/node_modules/mysql2/lib/connection.js:236:12) | |
api-database_1 | at Connection._handleFatalError (/app/node_modules/mysql2/lib/connection.js:167:10) | |
api-database_1 | at Connection._handleNetworkError (/app/node_modules/mysql2/lib/connection.js:180:10) | |
api-database_1 | at Socket.emit (node:events:369:20) | |
api-database_1 | at emitErrorNT (node:internal/streams/destroy:188:8) | |
api-database_1 | at emitErrorCloseNT (node:internal/streams/destroy:153:3) | |
db_1 | 2022-12-09T03:46:39.832507Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161) | |
db_1 | 2022-12-09T03:46:39.832529Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000) | |
db_1 | 2022-12-09T03:46:39.837885Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. | |
db_1 | 2022-12-09T03:46:39.838107Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.31) initializing of server in progress as process 80 | |
db_1 | 2022-12-09T03:46:39.894341Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. | |
db_1 | 2022-12-09T03:46:40.909749Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. | |
db_1 | 2022-12-09T03:46:43.968656Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. | |
my-epitech-relay_1 | | |
my-epitech-relay_1 | > my-epitech-relay@0.1.0 start /usr/src/app | |
my-epitech-relay_1 | > node out/index.js | |
my-epitech-relay_1 | | |
app-docker_api-database_1 exited with code 1 | |
my-epitech-relay_1 | API not launch | |
api-database_1 | db relay passwords moulibot | |
api-database_1 | App listening at http://localhost:3000 | |
api-database_1 | /app/src/index.js:9 | |
api-database_1 | if (err) throw new Error(`Failed to connect to database ${glob.myenv.MYSQL_DATABASE}`); | |
api-database_1 | ^ | |
api-database_1 | | |
api-database_1 | Error: Failed to connect to database moulibot | |
api-database_1 | at /app/src/index.js:9:20 | |
api-database_1 | at Connection.<anonymous> (/app/node_modules/mysql2/lib/connection.js:775:13) | |
api-database_1 | at Object.onceWrapper (node:events:476:26) | |
api-database_1 | at Connection.emit (node:events:369:20) | |
api-database_1 | at Connection._notifyError (/app/node_modules/mysql2/lib/connection.js:236:12) | |
api-database_1 | at Connection._handleFatalError (/app/node_modules/mysql2/lib/connection.js:167:10) | |
api-database_1 | at Connection._handleNetworkError (/app/node_modules/mysql2/lib/connection.js:180:10) | |
api-database_1 | at Socket.emit (node:events:369:20) | |
api-database_1 | at emitErrorNT (node:internal/streams/destroy:188:8) | |
api-database_1 | at emitErrorCloseNT (node:internal/streams/destroy:153:3) | |
db_1 | 2022-12-09 03:46:50+00:00 [Note] [Entrypoint]: Database files initialized | |
db_1 | 2022-12-09 03:46:50+00:00 [Note] [Entrypoint]: Starting temporary server | |
db_1 | 2022-12-09T03:46:50.314461Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161) | |
db_1 | 2022-12-09T03:46:50.314475Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000) | |
db_1 | 2022-12-09T03:46:50.678991Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. | |
db_1 | 2022-12-09T03:46:50.682972Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as process 131 | |
db_1 | 2022-12-09T03:46:50.718842Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. | |
db_1 | 2022-12-09T03:46:50.994799Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. | |
db_1 | 2022-12-09T03:46:51.521233Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. | |
db_1 | 2022-12-09T03:46:51.521298Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. | |
db_1 | 2022-12-09T03:46:51.523273Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. | |
db_1 | 2022-12-09T03:46:51.564389Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock | |
db_1 | 2022-12-09T03:46:51.564465Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.31' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server - GPL. | |
db_1 | 2022-12-09 03:46:51+00:00 [Note] [Entrypoint]: Temporary server started. | |
db_1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' | |
db_1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. | |
db_1 | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it. | |
api-database_1 | db relay passwords moulibot | |
api-database_1 | App listening at http://localhost:3000 | |
api-database_1 | /app/src/index.js:9 | |
api-database_1 | if (err) throw new Error(`Failed to connect to database ${glob.myenv.MYSQL_DATABASE}`); | |
api-database_1 | ^ | |
api-database_1 | | |
api-database_1 | Error: Failed to connect to database moulibot | |
api-database_1 | at /app/src/index.js:9:20 | |
api-database_1 | at Connection.<anonymous> (/app/node_modules/mysql2/lib/connection.js:775:13) | |
api-database_1 | at Object.onceWrapper (node:events:476:26) | |
api-database_1 | at Connection.emit (node:events:369:20) | |
api-database_1 | at Connection._notifyError (/app/node_modules/mysql2/lib/connection.js:236:12) | |
api-database_1 | at Connection._handleFatalError (/app/node_modules/mysql2/lib/connection.js:167:10) | |
api-database_1 | at Connection._handleNetworkError (/app/node_modules/mysql2/lib/connection.js:180:10) | |
api-database_1 | at Socket.emit (node:events:369:20) | |
api-database_1 | at emitErrorNT (node:internal/streams/destroy:188:8) | |
api-database_1 | at emitErrorCloseNT (node:internal/streams/destroy:153:3) | |
app-docker_api-database_1 exited with code 1 | |
db_1 | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it. | |
db_1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. | |
db_1 | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it. | |
db_1 | 2022-12-09 03:46:56+00:00 [Note] [Entrypoint]: Creating database moulibot | |
db_1 | 2022-12-09 03:46:56+00:00 [Note] [Entrypoint]: Creating user relay | |
db_1 | 2022-12-09 03:46:56+00:00 [Note] [Entrypoint]: Giving user relay access to schema moulibot | |
db_1 | | |
db_1 | 2022-12-09 03:46:56+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/api-db.sql | |
db_1 | | |
db_1 | | |
db_1 | 2022-12-09 03:46:56+00:00 [Note] [Entrypoint]: Stopping temporary server | |
db_1 | 2022-12-09T03:46:56.937532Z 14 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.31). | |
api-database_1 | db relay passwords moulibot | |
api-database_1 | App listening at http://localhost:3000 | |
api-database_1 | /app/src/index.js:9 | |
api-database_1 | if (err) throw new Error(`Failed to connect to database ${glob.myenv.MYSQL_DATABASE}`); | |
api-database_1 | ^ | |
api-database_1 | | |
api-database_1 | Error: Failed to connect to database moulibot | |
api-database_1 | at /app/src/index.js:9:20 | |
api-database_1 | at Connection.<anonymous> (/app/node_modules/mysql2/lib/connection.js:775:13) | |
api-database_1 | at Object.onceWrapper (node:events:476:26) | |
api-database_1 | at Connection.emit (node:events:369:20) | |
api-database_1 | at Connection._notifyError (/app/node_modules/mysql2/lib/connection.js:236:12) | |
api-database_1 | at Connection._handleFatalError (/app/node_modules/mysql2/lib/connection.js:167:10) | |
api-database_1 | at Connection._handleNetworkError (/app/node_modules/mysql2/lib/connection.js:180:10) | |
api-database_1 | at Socket.emit (node:events:369:20) | |
api-database_1 | at emitErrorNT (node:internal/streams/destroy:188:8) | |
api-database_1 | at emitErrorCloseNT (node:internal/streams/destroy:153:3) | |
app-docker_api-database_1 exited with code 1 | |
db_1 | 2022-12-09T03:46:58.618351Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.31) MySQL Community Server - GPL. | |
my-epitech-relay_1 | false | |
db_1 | 2022-12-09 03:46:58+00:00 [Note] [Entrypoint]: Temporary server stopped | |
db_1 | | |
db_1 | 2022-12-09 03:46:58+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up. | |
db_1 | | |
db_1 | 2022-12-09T03:46:58.978248Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161) | |
db_1 | 2022-12-09T03:46:58.978268Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000) | |
db_1 | 2022-12-09T03:46:59.318266Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. | |
db_1 | 2022-12-09T03:46:59.322136Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as process 1 | |
db_1 | 2022-12-09T03:46:59.344894Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. | |
db_1 | 2022-12-09T03:46:59.586066Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. | |
db_1 | 2022-12-09T03:47:00.034490Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. | |
db_1 | 2022-12-09T03:47:00.034554Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. | |
db_1 | 2022-12-09T03:47:00.037322Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. | |
db_1 | 2022-12-09T03:47:00.080849Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock | |
db_1 | 2022-12-09T03:47:00.080970Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.31' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. | |
api-database_1 | db relay passwords moulibot | |
api-database_1 | App listening at http://localhost:3000 | |
api-database_1 | Connecté à la base de données moulibot | |
my-epitech-relay_1 | false | |
my-epitech-relay_1 | false | |
my-epitech-relay_1 | false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment