Skip to content

Instantly share code, notes, and snippets.

@axilaris
Created March 31, 2024 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axilaris/5844a146a08ae80256f064572a1f0ab6 to your computer and use it in GitHub Desktop.
Save axilaris/5844a146a08ae80256f064572a1f0ab6 to your computer and use it in GitHub Desktop.
Creating frontend_container ... done
Creating redis ... done
Creating backend_container ... done
Creating django-react-docker_nginx_1 ... done
Attaching to frontend_container, backend_container, redis, django-react-docker_nginx_1
nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1 | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf
frontend_container |
frontend_container | > frontend@0.1.0 build
frontend_container | > react-scripts build
frontend_container |
redis | 1:C 31 Mar 2024 14:56:50.931 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis | 1:C 31 Mar 2024 14:56:50.931 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis | 1:C 31 Mar 2024 14:56:50.931 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
redis | 1:C 31 Mar 2024 14:56:50.931 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis | 1:M 31 Mar 2024 14:56:50.931 * Increased maximum number of open files to 10032 (it was originally set to 1024).
redis | 1:M 31 Mar 2024 14:56:50.931 * monotonic clock: POSIX clock_gettime
redis | 1:M 31 Mar 2024 14:56:50.932 * Running mode=standalone, port=6379.
redis | 1:M 31 Mar 2024 14:56:50.932 * Server initialized
redis | 1:M 31 Mar 2024 14:56:50.933 * Ready to accept connections tcp
nginx_1 | 10-listen-on-ipv6-by-default.sh: /etc/nginx/conf.d/default.conf differs from the packages version, exiting
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
backend_container | System check identified some issues:
backend_container |
backend_container | WARNINGS:
backend_container | ?: (staticfiles.W004) The directory '/app/backend/../frontend/build/static' in the STATICFILES_DIRS setting does not exist.
backend_container | No changes detected
backend_container | System check identified some issues:
backend_container |
backend_container | WARNINGS:
backend_container | ?: (staticfiles.W004) The directory '/app/backend/../frontend/build/static' in the STATICFILES_DIRS setting does not exist.
backend_container | Operations to perform:
backend_container | Apply all migrations: admin, auth, contenttypes, sessions, user_api
backend_container | Running migrations:
backend_container | No migrations to apply.
frontend_container | Creating an optimized production build...
backend_container | System check identified some issues:
backend_container |
backend_container | WARNINGS:
backend_container | ?: (staticfiles.W004) The directory '/app/backend/../frontend/build/static' in the STATICFILES_DIRS setting does not exist.
backend_container |
backend_container | 165 static files copied to '/app/backend/staticfiles'.
backend_container | [2024-03-31 14:56:53 +0000] [11] [INFO] Starting gunicorn 20.1.0
backend_container | [2024-03-31 14:56:53 +0000] [11] [INFO] Listening at: http://0.0.0.0:8000 (11)
backend_container | [2024-03-31 14:56:53 +0000] [11] [INFO] Using worker: sync
backend_container | [2024-03-31 14:56:53 +0000] [12] [INFO] Booting worker with pid: 12
frontend_container | One of your dependencies, babel-preset-react-app, is importing the
frontend_container | "@babel/plugin-proposal-private-property-in-object" package without
frontend_container | declaring it in its dependencies. This is currently working because
frontend_container | "@babel/plugin-proposal-private-property-in-object" is already in your
frontend_container | node_modules folder for unrelated reasons, but it may break at any time.
frontend_container |
frontend_container | babel-preset-react-app is part of the create-react-app project, which
frontend_container | is not maintianed anymore. It is thus unlikely that this bug will
frontend_container | ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
frontend_container | your devDependencies to work around this error. This will make this message
frontend_container | go away.
frontend_container |
nginx_1 | 2024/03/31 14:57:00 [error] 29#29: *1 directory index of "/var/www/frontend/" is forbidden, client: 172.20.4.193, server: , request: "GET / HTTP/1.1", host: "172.21.4.130"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:57:00 +0000] "GET / HTTP/1.1" 403 153 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 2024/03/31 14:57:01 [error] 29#29: *2 directory index of "/var/www/frontend/" is forbidden, client: 172.20.1.172, server: , request: "GET / HTTP/1.1", host: "172.21.4.130"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:57:01 +0000] "GET / HTTP/1.1" 403 153 "-" "ELB-HealthChecker/2.0" "-"
frontend_container | Compiled with warnings.
frontend_container |
frontend_container | [eslint]
frontend_container | src/App.js
frontend_container | Line 11:8: 'Websocket' is defined but never used no-unused-vars
frontend_container | Line 12:10: 'useWebSocket' is defined but never used no-unused-vars
frontend_container |
frontend_container | Search for the keywords to learn more about each warning.
frontend_container | To ignore, add // eslint-disable-next-line to the line before.
frontend_container |
frontend_container | File sizes after gzip:
frontend_container |
frontend_container | 74.68 kB build/static/js/main.854dcbbf.js
frontend_container | 31.91 kB build/static/css/main.9d7cbdf2.css
frontend_container |
frontend_container | The project was built assuming it is hosted at /.
frontend_container | You can control this with the homepage field in your package.json.
frontend_container |
frontend_container | The build folder is ready to be deployed.
frontend_container | You may serve it with a static server:
frontend_container |
frontend_container | npm install -g serve
frontend_container | serve -s build
frontend_container |
frontend_container | Find out more about deployment here:
frontend_container |
frontend_container | https://cra.link/deployment
frontend_container |
frontend_container exited with code 0
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:57:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:57:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:58:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:58:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:58:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:58:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:59:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:59:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:14:59:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:14:59:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:00:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:00:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:00:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:00:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:01:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:01:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:01:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:01:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:02:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:02:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:02:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:02:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:03:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:03:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:03:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:03:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:04:00 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:04:01 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.4.193 - - [31/Mar/2024:15:04:30 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
nginx_1 | 172.20.1.172 - - [31/Mar/2024:15:04:31 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment