Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo docker-compose up
- Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
- Starting potok-lk_django_1 ... done
- Starting potok-lk_db_1 ... done
- Starting c3297c9ce8c7_potok-lk_nginx_1 ... done
- Attaching to potok-lk_db_1, potok-lk_django_1, c3297c9ce8c7_potok-lk_nginx_1
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
- db_1 |
- db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
- db_1 |
- db_1 | 2022-01-05 20:50:17.718 UTC [1] LOG: starting PostgreSQL 13.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
- db_1 | 2022-01-05 20:50:17.718 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
- db_1 | 2022-01-05 20:50:17.718 UTC [1] LOG: listening on IPv6 address "::", port 5432
- db_1 | 2022-01-05 20:50:17.726 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
- c3297c9ce8c7_potok-lk_nginx_1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
- db_1 | 2022-01-05 20:50:17.735 UTC [22] LOG: database system was shut down at 2022-01-05 20:50:11 UTC
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
- db_1 | 2022-01-05 20:50:17.740 UTC [1] LOG: database system is ready to accept connections
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
- c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
- c3297c9ce8c7_potok-lk_nginx_1 | 2022/01/05 20:50:18 [emerg] 1#1: unknown directive "listen:80" in /etc/nginx/conf.d/nginx-conf.conf:6
- c3297c9ce8c7_potok-lk_nginx_1 | nginx: [emerg] unknown directive "listen:80" in /etc/nginx/conf.d/nginx-conf.conf:6
- c3297c9ce8c7_potok-lk_nginx_1 exited with code 1
- django_1 | [2022-01-05 20:50:18 +0000] [1] [INFO] Starting gunicorn 20.1.0
- django_1 | [2022-01-05 20:50:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
- django_1 | [2022-01-05 20:50:18 +0000] [1] [INFO] Using worker: sync
- django_1 | [2022-01-05 20:50:18 +0000] [7] [INFO] Booting worker with pid: 7
- django_1 | [2022-01-05 20:50:18 +0000] [7] [ERROR] Exception in worker process
- django_1 | Traceback (most recent call last):
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
- django_1 | worker.init_process()
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
- django_1 | self.load_wsgi()
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
- django_1 | self.wsgi = self.app.wsgi()
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
- django_1 | self.callable = self.load()
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
- django_1 | return self.load_wsgiapp()
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
- django_1 | return util.import_app(self.app_uri)
- django_1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
- django_1 | mod = importlib.import_module(module)
- django_1 | File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
- django_1 | return _bootstrap._gcd_import(name[level:], package, level)
- django_1 | File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
- django_1 | File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
- django_1 | File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
- django_1 | File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
- django_1 | File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
- django_1 | File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
- django_1 | File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
- django_1 | ModuleNotFoundError: No module named 'app'
- django_1 | [2022-01-05 20:50:18 +0000] [7] [INFO] Worker exiting (pid: 7)
- django_1 | [2022-01-05 20:50:18 +0000] [1] [INFO] Shutting down: Master
- django_1 | [2022-01-05 20:50:18 +0000] [1] [INFO] Reason: Worker failed to boot.
- potok-lk_django_1 exited with code 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement