Created
March 31, 2024 11:01
-
-
Save axilaris/25ea559e5e0f45dc16b7046c8383292c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ sudo docker-compose up | |
Creating network "django-react-docker_default" with the default driver | |
Creating volume "django-react-docker_static" with default driver | |
Creating volume "django-react-docker_frontend" with default driver | |
Pulling redis (redis:alpine)... | |
alpine: Pulling from library/redis | |
4abcf2066143: Already exists | |
5c3180d10209: Pull complete | |
f76326fd8e6b: Pull complete | |
034c076ba1e7: Pull complete | |
dffcad17539b: Pull complete | |
5913474e0f39: Pull complete | |
4f4fb700ef54: Pull complete | |
cc6fccbbefa3: Pull complete | |
Digest: sha256:7635b0bfdd7dd8552b4b31d6541fef07b734614045b45a52fd5cc27c9dada9e2 | |
Status: Downloaded newer image for redis:alpine | |
Creating frontend_container ... done | |
Creating backend_container ... done | |
Creating redis ... 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 | > [email protected] build | |
frontend_container | > react-scripts build | |
frontend_container | | |
redis | 1:C 31 Mar 2024 10:59:16.985 # 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 10:59:16.985 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo | |
redis | 1:C 31 Mar 2024 10:59:16.985 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started | |
redis | 1:C 31 Mar 2024 10:59:16.985 # 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 10:59:16.986 * Increased maximum number of open files to 10032 (it was originally set to 1024). | |
redis | 1:M 31 Mar 2024 10:59:16.986 * monotonic clock: POSIX clock_gettime | |
redis | 1:M 31 Mar 2024 10:59:16.987 * Running mode=standalone, port=6379. | |
redis | 1:M 31 Mar 2024 10:59:16.987 * Server initialized | |
redis | 1:M 31 Mar 2024 10:59:16.987 * 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'. | |
nginx_1 | 172.20.4.193 - - [31/Mar/2024:10:59:19 +0000] "GET / HTTP/1.1" 403 153 "-" "ELB-HealthChecker/2.0" "-" | |
nginx_1 | 2024/03/31 10:59:19 [error] 30#30: *1 directory index of "/var/www/frontend/" is forbidden, client: 172.20.4.193, server: , request: "GET / HTTP/1.1", host: "172.20.3.120" | |
backend_container | [2024-03-31 10:59:19 +0000] [10] [INFO] Starting gunicorn 20.1.0 | |
backend_container | [2024-03-31 10:59:19 +0000] [10] [INFO] Listening at: http://0.0.0.0:8000 (10) | |
backend_container | [2024-03-31 10:59:19 +0000] [10] [INFO] Using worker: sync | |
backend_container | [2024-03-31 10:59:19 +0000] [11] [INFO] Booting worker with pid: 11 | |
nginx_1 | 2024/03/31 10:59:20 [error] 30#30: *2 directory index of "/var/www/frontend/" is forbidden, client: 172.20.1.172, server: , request: "GET / HTTP/1.1", host: "172.20.3.120" | |
nginx_1 | 172.20.1.172 - - [31/Mar/2024:10:59:20 +0000] "GET / HTTP/1.1" 403 153 "-" "ELB-HealthChecker/2.0" "-" | |
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 | | |
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:10:59:49 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-" | |
nginx_1 | 172.20.1.172 - - [31/Mar/2024:10:59:50 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-" | |
nginx_1 | 172.20.4.193 - - [31/Mar/2024:11:00:19 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-" | |
nginx_1 | 172.20.1.172 - - [31/Mar/2024:11:00:20 +0000] "GET / HTTP/1.1" 200 644 "-" "ELB-HealthChecker/2.0" "-" | |
nginx_1 | 172.20.3.120 - - [31/Mar/2024:11:00:34 +0000] "GET" 400 157 "-" "-" "-" | |
nginx_1 | 172.20.4.193 - - [31/Mar/2024:11:00:49 +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