Skip to content

Instantly share code, notes, and snippets.

@JhumanJ
Created July 30, 2024 09:59
Show Gist options
  • Save JhumanJ/84c7811996f3f520a2371d891282e376 to your computer and use it in GitHub Desktop.
Save JhumanJ/84c7811996f3f520a2371d891282e376 to your computer and use it in GitHub Desktop.
Issue docker compose
➜ donukopnform git:(issue-445/enhance-docker-setup) ✗ docker-compose up
donukopnform_api-worker_1 is up-to-date
Starting donukopnform_ingress_1 ...
Starting donukopnform_ui_1 ...
donukopnform_redis_1 is up-to-date
Starting donukopnform_ingress_1 ... done
Starting donukopnform_ui_1 ... done
Attaching to donukopnform_api-worker_1, donukopnform_redis_1, donukopnform_db_1, donukopnform_api_1, donukopnform_ui_1, donukopnform_ingress_1
ui_1 | /entrypoint.sh: .: line 8: can't open '.env': No such file or directory
ingress_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
ingress_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
ingress_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
donukopnform_ui_1 exited with code 2
ingress_1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
api-worker_1 | Backing up initial storage directory
api-worker_1 | Initialising blank storage dir
api-worker_1 | Linking persistent storage into app
api-worker_1 | Checking keys have been generated
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Waiting for keys to generate
api-worker_1 | Booting ./artisan queue:work
api_1 | Backing up initial storage directory
api_1 | Initialising blank storage dir
api_1 | Linking persistent storage into app
api_1 | Generating Laravel key...
api_1 |
api_1 | INFO Application key set successfully.
api_1 |
api_1 | Generating Laravel Secret...
api_1 | jwt-auth secret [QYQ78QyDYLnSKctf5XccnWVGjf75kvfQCQSKwrLWVA0pDFReT6mPJgNp9DM1fUYB] set successfully.
api_1 | Done with secrets
api_1 | Running DB Migrations
api_1 |
api_1 | INFO Preparing database.
api_1 |
api_1 | Creating migration table ...................................... 26.39ms DONE
api_1 |
api_1 | INFO Running migrations.
api_1 |
api_1 | 2014_10_12_000000_create_users_table .......................... 38.77ms DONE
api_1 | 2014_10_12_100000_create_password_resets_table ................ 27.40ms DONE
api_1 | 2017_12_07_122845_create_oauth_providers_table ................ 36.57ms DONE
api_1 | 2019_05_03_000001_create_customer_columns ..................... 16.24ms DONE
api_1 | 2019_05_03_000002_create_subscriptions_table .................. 46.04ms DONE
api_1 | 2019_05_03_000003_create_subscription_items_table ............. 48.23ms DONE
api_1 | 2019_08_19_000000_create_failed_jobs_table .................... 38.10ms DONE
api_1 | 2021_05_17_142505_create_workspaces_table ..................... 38.73ms DONE
api_1 | 2021_05_19_140326_create_forms_table .......................... 36.70ms DONE
api_1 | 2021_05_24_233839_make_forms_soft_deletable .................... 8.67ms DONE
api_1 | 2021_05_24_234028_create_form_submissions_table ............... 30.88ms DONE
api_1 | 2021_07_21_072850_add_hear_about_us_to_users_table ............. 6.58ms DONE
api_1 | 2021_09_29_192133_create_form_zapier_webhooks_table ........... 16.71ms DONE
api_1 | 2021_10_13_142022_create_users_workspaces_table ............... 32.72ms DONE
api_1 | 2021_11_04_171750_create_job_batches_table .................... 26.57ms DONE
api_1 | 2021_11_04_171753_create_webhook_calls_table .................. 36.54ms DONE
api_1 | 2022_03_12_105502_add_indexes_to_important_tables ............. 33.79ms DONE
api_1 | 2022_05_02_092915_form_views .................................. 19.86ms DONE
api_1 | 2022_05_10_144947_form_statistic .............................. 32.53ms DONE
api_1 | 2022_08_18_133641_add_removed_properties_to_forms .............. 8.93ms DONE
api_1 | 2022_09_06_044038_add_max_submissions_to_forms ................. 8.43ms DONE
api_1 | 2022_09_12_074636_remove_access_token_from_workspaces ......... 22.94ms DONE
api_1 | 2022_09_16_110344_add_slack_webhook_url_to_forms ............... 9.06ms DONE
api_1 | 2022_09_22_092205_create_templates_table ...................... 34.67ms DONE
api_1 | 2022_09_26_084721_add_questions_to_templates ................... 9.61ms DONE
api_1 | 2022_10_07_122038_add_visibility_to_forms ...................... 9.91ms DONE
api_1 | 2022_12_27_114803_add_editable_submissions_to_forms ............ 7.54ms DONE
api_1 | 2023_01_28_142618_add_discord_url .............................. 8.27ms DONE
api_1 | 2023_03_06_033440_change_max_submissions_reached_text_to_text . 11.19ms DONE
api_1 | 2023_03_13_094806_add_editable_submissions_button_text_to_forms 9.87ms DONE
api_1 | 2023_03_14_094623_change_templates_image_url_to_nullable ....... 7.97ms DONE
api_1 | 2023_03_27_153317_create_ai_form_completions_table ............ 29.80ms DONE
api_1 | 2023_03_27_173507_create_jobs_table ........................... 41.69ms DONE
api_1 | 2023_04_04_093956_add_confetti_on_submission_to_forms .......... 7.50ms DONE
api_1 | 2023_07_20_073728_add_seo_meta_to_forms ........................ 9.11ms DONE
api_1 | 2023_08_23_100710_add_notification_settings_to_forms ........... 8.80ms DONE
api_1 | 2023_09_01_052507_add_fields_to_templates ..................... 10.55ms DONE
api_1 | 2023_09_21_092812_add_creator_id_to_templates .................. 8.46ms DONE
api_1 | 2023_10_10_140600_add_auto_save_to_forms ....................... 8.47ms DONE
api_1 | 2023_10_13_080104_change_type_of_form_prompt_in_ai_form_completions 9.50ms DONE
api_1 | 2023_10_30_133259_create_licenses_table ....................... 53.78ms DONE
api_1 | 2023_11_28_104644_add_custom_domains_to_workspaces_table ....... 8.35ms DONE
api_1 | 2023_11_28_161121_add_custom_domain_to_forms_table ............. 8.32ms DONE
api_1 | 2024_02_21_100134_create_form_integrations_table .............. 34.73ms DONE
api_1 | 2024_02_21_160807_create_form_integrations_events_table ....... 30.83ms DONE
api_1 | 2024_03_12_173732_show_progress_bar ............................ 4.84ms DONE
api_1 | 2024_03_26_170934_remove_notifications_fields_from_forms ....... 7.05ms DONE
api_1 | 2024_05_10_063347_add_user_data_to_oauth_providers_table ....... 6.37ms DONE
api_1 | 2024_05_29_002132_add_expires_at_to_oauth_providers_table ...... 7.41ms DONE
api_1 | 2024_06_04_131157_type_update_to_subscriptions_table ........... 6.16ms DONE
api_1 | 2024_06_05_132837_rename_password_resets_table ................. 5.45ms DONE
api_1 | 2024_06_18_090415_create_user_invites_table ................... 45.45ms DONE
api_1 | 2024_06_26_092038_add_border_radius_and_size_to_forms_table ... 36.79ms DONE
api_1 |
api_1 | Booting /bin/sh -c php-fpm
api_1 | [30-Jul-2024 09:56:52] NOTICE: fpm is running, pid 93
api_1 | [30-Jul-2024 09:56:52] NOTICE: ready to handle connections
db_1 | The files belonging to this database system will be owned by user "postgres".
db_1 | This user must also own the server process.
db_1 |
db_1 | The database cluster will be initialized with locale "en_US.utf8".
db_1 | The default database encoding has accordingly been set to "UTF8".
db_1 | The default text search configuration will be set to "english".
db_1 |
db_1 | Data page checksums are disabled.
db_1 |
db_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db_1 | creating subdirectories ... ok
db_1 | selecting dynamic shared memory implementation ... posix
db_1 | selecting default max_connections ... 100
db_1 | selecting default shared_buffers ... 128MB
db_1 | selecting default time zone ... Etc/UTC
db_1 | creating configuration files ... ok
db_1 | running bootstrap script ... ok
db_1 | performing post-bootstrap initialization ... ok
db_1 | syncing data to disk ... ok
db_1 |
db_1 |
db_1 | Success. You can now start the database server using:
db_1 |
db_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db_1 |
db_1 | initdb: warning: enabling "trust" authentication for local connections
db_1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
db_1 | waiting for server to start....2024-07-30 09:56:46.511 UTC [48] LOG: starting PostgreSQL 16.3 (Debian 16.3-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db_1 | 2024-07-30 09:56:46.519 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2024-07-30 09:56:46.547 UTC [51] LOG: database system was shut down at 2024-07-30 09:56:46 UTC
db_1 | 2024-07-30 09:56:46.558 UTC [48] LOG: database system is ready to accept connections
db_1 | done
db_1 | server started
db_1 |
db_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
db_1 |
db_1 | 2024-07-30 09:56:46.629 UTC [48] LOG: received fast shutdown request
db_1 | waiting for server to shut down....2024-07-30 09:56:46.637 UTC [48] LOG: aborting any active transactions
db_1 | 2024-07-30 09:56:46.641 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
db_1 | 2024-07-30 09:56:46.641 UTC [49] LOG: shutting down
db_1 | 2024-07-30 09:56:46.649 UTC [49] LOG: checkpoint starting: shutdown immediate
db_1 | 2024-07-30 09:56:46.719 UTC [49] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.019 s, sync=0.010 s, total=0.079 s; sync files=2, longest=0.005 s, average=0.005 s; distance=0 kB, estimate=0 kB; lsn=0/14EA1D0, redo lsn=0/14EA1D0
db_1 | 2024-07-30 09:56:46.728 UTC [48] LOG: database system is shut down
db_1 | done
db_1 | server stopped
db_1 |
db_1 | PostgreSQL init process complete; ready for start up.
db_1 |
db_1 | 2024-07-30 09:56:46.763 UTC [1] LOG: starting PostgreSQL 16.3 (Debian 16.3-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db_1 | 2024-07-30 09:56:46.763 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2024-07-30 09:56:46.763 UTC [1] LOG: listening on IPv6 address "::", port 5432
db_1 | 2024-07-30 09:56:46.779 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2024-07-30 09:56:46.798 UTC [62] LOG: database system was shut down at 2024-07-30 09:56:46 UTC
db_1 | 2024-07-30 09:56:46.809 UTC [1] LOG: database system is ready to accept connections
redis_1 | 1:C 30 Jul 2024 09:56:45.821 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 30 Jul 2024 09:56:45.821 * Redis version=7.4.0, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 30 Jul 2024 09:56:45.821 # 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 | 1:M 30 Jul 2024 09:56:45.822 * monotonic clock: POSIX clock_gettime
redis_1 | 1:M 30 Jul 2024 09:56:45.823 * Running mode=standalone, port=6379.
redis_1 | 1:M 30 Jul 2024 09:56:45.824 * Server initialized
redis_1 | 1:M 30 Jul 2024 09:56:45.829 * Ready to accept connections tcp
ingress_1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
ingress_1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
ingress_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
ingress_1 | 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
ingress_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
ingress_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
ingress_1 | 2024/07/30 09:58:29 [emerg] 1#1: host not found in upstream "ui" in /etc/nginx/conf.d/default.conf:18
ingress_1 | nginx: [emerg] host not found in upstream "ui" in /etc/nginx/conf.d/default.conf:18
donukopnform_ingress_1 exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment