- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 Azure“容器的 Web 应用程序”服务中,我有以下 docker-compose.yml 文件。基于此:https://github.com/bitnami/bitnami-docker-moodle/blob/master/3/debian-11/docker-compose.yml
version: '2'
services:
mariadb:
image: bitnami/mariadb:10.6
environment:
- MARIADB_USER=bn_moodle
- MARIADB_PASSWORD=foobar1111
- MARIADB_ROOT_PASSWORD=foobar1111
- MARIADB_DATABASE=bitnami_moodle
- MARIADB_CHARACTER_SET=utf8mb4
- MARIADB_COLLATE=utf8mb4_unicode_ci
volumes:
- 'mariadb_data:/bitnami/mariadb'
moodle:
image: bitnami/moodle:3
environment:
- BITNAMI_DEBUG=true
- MOODLE_DATABASE_HOST=mariadb
- MOODLE_DATABASE_PORT_NUMBER=3306
- MOODLE_DATABASE_USER=bn_moodle
- MOODLE_DATABASE_NAME=bitnami_moodle
- MOODLE_DATABASE_PASSWORD=foobar1111
- MOODLE_DATABASE_ROOT_PASSWORD=foobar1111
- MOODLE_SITE_NAME=Moodle v3 Test 1
- MOODLE_USERNAME=foobar_user
- MOODLE_PASSWORD=foobar1111
volumes:
- 'moodle_data:/bitnami/moodle'
- 'moodledata_data:/bitnami/moodledata'
depends_on:
- mariadb
volumes:
mariadb_data:
driver: local
moodle_data:
driver: local
moodledata_data:
driver: local
当我启动服务并检查日志时,我发现 Moodle 镜像很难访问 mariadb 镜像。以下是日志的完整转储。很抱歉这篇文章太长,但我希望有人能够认识到其中的细节,这可能有助于阐明正在发生的事情。
2022-08-03T21:00:16.439123068Z 2022-08-03 21:00:16 93 [Warning] Aborted connection 93 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:17.521479030Z 2022-08-03 21:00:17 94 [Warning] Aborted connection 94 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:18.581491876Z 2022-08-03 21:00:18 95 [Warning] Aborted connection 95 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:19.663574884Z 2022-08-03 21:00:19 96 [Warning] Aborted connection 96 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:20.707537733Z 2022-08-03 21:00:20 97 [Warning] Aborted connection 97 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:21.852634128Z 2022-08-03 21:00:21 98 [Warning] Aborted connection 98 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:22.928465477Z 2022-08-03 21:00:22 99 [Warning] Aborted connection 99 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:24.016558849Z 2022-08-03 21:00:23 100 [Warning] Aborted connection 100 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:25.470200759Z 2022-08-03 21:00:25 101 [Warning] Aborted connection 101 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:26.539066866Z 2022-08-03 21:00:26 102 [Warning] Aborted connection 102 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:27.555060538Z 2022-08-03 21:00:27 103 [Warning] Aborted connection 103 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:28.738963126Z 2022-08-03 21:00:28 104 [Warning] Aborted connection 104 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:30.332358501Z 2022-08-03 21:00:30 105 [Warning] Aborted connection 105 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:31.727591512Z 2022-08-03 21:00:31 106 [Warning] Aborted connection 106 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:33.470704078Z 2022-08-03 21:00:33 107 [Warning] Aborted connection 107 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:34.448130283Z 2022-08-03 21:00:34 108 [Warning] Aborted connection 108 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:35.461661803Z 2022-08-03 21:00:35 109 [Warning] Aborted connection 109 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:36.487652089Z 2022-08-03 21:00:36 110 [Warning] Aborted connection 110 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:37.517595106Z 2022-08-03 21:00:37 111 [Warning] Aborted connection 111 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:38.584427503Z 2022-08-03 21:00:38 112 [Warning] Aborted connection 112 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:39.610105028Z 2022-08-03 21:00:39 113 [Warning] Aborted connection 113 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:40.646019026Z 2022-08-03 21:00:40 114 [Warning] Aborted connection 114 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:41.644863168Z 2022-08-03 21:00:41 115 [Warning] Aborted connection 115 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:42.660142054Z 2022-08-03 21:00:42 116 [Warning] Aborted connection 116 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:43.711739776Z 2022-08-03 21:00:43 117 [Warning] Aborted connection 117 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:44.709783446Z 2022-08-03 21:00:44 118 [Warning] Aborted connection 118 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:45.732673758Z 2022-08-03 21:00:45 119 [Warning] Aborted connection 119 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:46.762388450Z 2022-08-03 21:00:46 120 [Warning] Aborted connection 120 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:47.758876853Z 2022-08-03 21:00:47 121 [Warning] Aborted connection 121 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:48.776094540Z 2022-08-03 21:00:48 122 [Warning] Aborted connection 122 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:50.340782878Z 2022-08-03 21:00:50 123 [Warning] Aborted connection 123 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:55.361470046Z 2022-08-03 21:00:55 124 [Warning] Aborted connection 124 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:56.388063845Z 2022-08-03 21:00:56 125 [Warning] Aborted connection 125 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:57.421708836Z 2022-08-03 21:00:57 126 [Warning] Aborted connection 126 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:58.437290366Z 2022-08-03 21:00:58 127 [Warning] Aborted connection 127 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:00:59.447538290Z 2022-08-03 21:00:59 128 [Warning] Aborted connection 128 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:01:00.493517915Z 2022-08-03 21:01:00 129 [Warning] Aborted connection 129 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:01:01.505069338Z 2022-08-03 21:01:01 130 [Warning] Aborted connection 130 to db: 'unconnected' user: 'unauthenticated' host: '172.16.24.1' (This connection closed normally without authentication)
2022-08-03T21:01:06.794Z INFO - Container logs from moodlev3-docker-1_moodle_0_8777f90c = 2022-08-03T20:57:20.591495328Z [38;5;6mmoodle [38;5;5m20:57:20.59 [0m
2022-08-03T20:57:20.609727111Z [38;5;6mmoodle [38;5;5m20:57:20.60 [0m[1mWelcome to the Bitnami moodle container[0m
2022-08-03T20:57:20.620203620Z [38;5;6mmoodle [38;5;5m20:57:20.61 [0mSubscribe to project updates by watching [1mhttps://github.com/bitnami/containers[0m
2022-08-03T20:57:20.647346277Z [38;5;6mmoodle [38;5;5m20:57:20.64 [0mSubmit issues and feature requests at [1mhttps://github.com/bitnami/containers/issues[0m
2022-08-03T20:57:20.666697957Z [38;5;6mmoodle [38;5;5m20:57:20.66 [0m
2022-08-03T20:57:20.686110642Z [38;5;6mmoodle [38;5;5m20:57:20.68 [0m[38;5;2mINFO [0m ==> ** Starting Moodle setup **
2022-08-03T20:57:20.872220400Z [38;5;6mmoodle [38;5;5m20:57:20.85 [0m[38;5;5mDEBUG[0m ==> Validating settings in APACHE_* environment variables
2022-08-03T20:57:21.326406628Z realpath: /bitnami/apache/conf: No such file or directory
2022-08-03T20:57:21.355210529Z [38;5;6mmoodle [38;5;5m20:57:21.33 [0m[38;5;2mINFO [0m ==> Configuring Apache ServerTokens directive
2022-08-03T20:57:21.366166280Z [38;5;6mmoodle [38;5;5m20:57:21.36 [0m[38;5;5mDEBUG[0m ==> Configuring ServerTokens Prod on file /opt/bitnami/apache/conf/httpd.conf
2022-08-03T20:57:21.868867817Z [38;5;6mmoodle [38;5;5m20:57:21.86 [0m[38;5;2mINFO [0m ==> Configuring PHP options
2022-08-03T20:57:21.887165406Z [38;5;6mmoodle [38;5;5m20:57:21.88 [0m[38;5;2mINFO [0m ==> Setting PHP expose_php option
2022-08-03T20:57:22.109567044Z [38;5;6mmoodle [38;5;5m20:57:22.10 [0m[38;5;2mINFO [0m ==> Validating settings in MYSQL_CLIENT_* env vars
2022-08-03T20:57:22.200697195Z [38;5;6mmoodle [38;5;5m20:57:22.19 [0m[38;5;2mINFO [0m ==> Validating settings in POSTGRESQL_CLIENT_* env vars
2022-08-03T20:57:22.390634457Z [38;5;6mmoodle [38;5;5m20:57:22.38 [0m[38;5;5mDEBUG[0m ==> Validating settings in MOODLE_* environment variables...
2022-08-03T20:57:22.762741913Z [38;5;6mmoodle [38;5;5m20:57:22.76 [0m[38;5;2mINFO [0m ==> Ensuring Moodle directories exist
2022-08-03T20:57:23.111049117Z [38;5;6mmoodle [38;5;5m20:57:23.11 [0m[38;5;2mINFO [0m ==> Trying to connect to the database server
2022-08-03T20:57:23.139873300Z [38;5;6mmoodle [38;5;5m20:57:23.13 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:23.148274123Z SELECT 1
2022-08-03T20:57:23.618638938Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:28.736342289Z [38;5;6mmoodle [38;5;5m20:57:28.73 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:28.737759302Z SELECT 1
2022-08-03T20:57:28.776248773Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:33.807767194Z [38;5;6mmoodle [38;5;5m20:57:33.80 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:33.845294560Z SELECT 1
2022-08-03T20:57:33.871246387Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:38.914237527Z [38;5;6mmoodle [38;5;5m20:57:38.91 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:38.915290320Z SELECT 1
2022-08-03T20:57:38.943604825Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:43.976763752Z [38;5;6mmoodle [38;5;5m20:57:43.97 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:43.977475015Z SELECT 1
2022-08-03T20:57:44.006532384Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:49.156310564Z [38;5;6mmoodle [38;5;5m20:57:49.14 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:49.157092733Z SELECT 1
2022-08-03T20:57:49.265267210Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:54.328419472Z [38;5;6mmoodle [38;5;5m20:57:54.32 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:54.329748383Z SELECT 1
2022-08-03T20:57:54.376230493Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:57:59.404119697Z [38;5;6mmoodle [38;5;5m20:57:59.40 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:57:59.406432892Z SELECT 1
2022-08-03T20:57:59.441740060Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:04.474194391Z [38;5;6mmoodle [38;5;5m20:58:04.47 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:04.474852346Z SELECT 1
2022-08-03T20:58:04.502372933Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:09.526378548Z [38;5;6mmoodle [38;5;5m20:58:09.52 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:09.527644953Z SELECT 1
2022-08-03T20:58:09.564180782Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:14.595786711Z [38;5;6mmoodle [38;5;5m20:58:14.59 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:14.596793094Z SELECT 1
2022-08-03T20:58:14.626229833Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:19.693104850Z [38;5;6mmoodle [38;5;5m20:58:19.69 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:19.693972122Z SELECT 1
2022-08-03T20:58:19.751356195Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:24.778342010Z [38;5;6mmoodle [38;5;5m20:58:24.77 [0m[38;5;1mERROR[0m ==> Could not connect to the database
2022-08-03T20:58:32.265779242Z [38;5;6mmoodle [38;5;5m20:58:32.25 [0m
2022-08-03T20:58:32.265811645Z [38;5;6mmoodle [38;5;5m20:58:32.26 [0m[1mWelcome to the Bitnami moodle container[0m
2022-08-03T20:58:32.362755163Z [38;5;6mmoodle [38;5;5m20:58:32.27 [0mSubscribe to project updates by watching [1mhttps://github.com/bitnami/containers[0m
2022-08-03T20:58:32.362791267Z [38;5;6mmoodle [38;5;5m20:58:32.28 [0mSubmit issues and feature requests at [1mhttps://github.com/bitnami/containers/issues[0m
2022-08-03T20:58:32.362797567Z [38;5;6mmoodle [38;5;5m20:58:32.29 [0m
2022-08-03T20:58:32.362802167Z [38;5;6mmoodle [38;5;5m20:58:32.30 [0m[38;5;2mINFO [0m ==> ** Starting Moodle setup **
2022-08-03T20:58:32.381449467Z [38;5;6mmoodle [38;5;5m20:58:32.37 [0m[38;5;5mDEBUG[0m ==> Validating settings in APACHE_* environment variables
2022-08-03T20:58:32.585382466Z realpath: /bitnami/apache/conf: No such file or directory
2022-08-03T20:58:32.602522037Z [38;5;6mmoodle [38;5;5m20:58:32.60 [0m[38;5;2mINFO [0m ==> Configuring Apache ServerTokens directive
2022-08-03T20:58:32.613771302Z [38;5;6mmoodle [38;5;5m20:58:32.61 [0m[38;5;5mDEBUG[0m ==> Configuring ServerTokens Prod on file /opt/bitnami/apache/conf/httpd.conf
2022-08-03T20:58:32.839203521Z [38;5;6mmoodle [38;5;5m20:58:32.83 [0m[38;5;2mINFO [0m ==> Configuring PHP options
2022-08-03T20:58:32.858137102Z [38;5;6mmoodle [38;5;5m20:58:32.85 [0m[38;5;2mINFO [0m ==> Setting PHP expose_php option
2022-08-03T20:58:33.084887121Z [38;5;6mmoodle [38;5;5m20:58:33.08 [0m[38;5;2mINFO [0m ==> Validating settings in MYSQL_CLIENT_* env vars
2022-08-03T20:58:33.133969776Z [38;5;6mmoodle [38;5;5m20:58:33.13 [0m[38;5;2mINFO [0m ==> Validating settings in POSTGRESQL_CLIENT_* env vars
2022-08-03T20:58:33.402267480Z [38;5;6mmoodle [38;5;5m20:58:33.39 [0m[38;5;5mDEBUG[0m ==> Validating settings in MOODLE_* environment variables...
2022-08-03T20:58:33.698535666Z [38;5;6mmoodle [38;5;5m20:58:33.69 [0m[38;5;2mINFO [0m ==> Ensuring Moodle directories exist
2022-08-03T20:58:33.951847841Z [38;5;6mmoodle [38;5;5m20:58:33.95 [0m[38;5;2mINFO [0m ==> Trying to connect to the database server
2022-08-03T20:58:33.988771717Z [38;5;6mmoodle [38;5;5m20:58:33.98 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:33.996028561Z SELECT 1
2022-08-03T20:58:34.185064474Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:39.220559645Z [38;5;6mmoodle [38;5;5m20:58:39.21 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:39.228124917Z SELECT 1
2022-08-03T20:58:39.259267085Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:44.291723055Z [38;5;6mmoodle [38;5;5m20:58:44.28 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:44.293894037Z SELECT 1
2022-08-03T20:58:44.322373229Z ERROR 2002 (HY000): Can't connect to server on 'mariadb' (115)
2022-08-03T20:58:49.353190272Z [38;5;6mmoodle [38;5;5m20:58:49.35 [0m[38;5;5mDEBUG[0m ==> Executing SQL command:
2022-08-03T20:58:49.353798324Z SELECT 1
2022-08-03T20:58:49.408754680Z 1
2022-08-03T20:58:49.421740880Z [38;5;6mmoodle [38;5;5m20:58:49.42 [0m[38;5;2mINFO [0m ==> Running Moodle install script
2022-08-03T20:58:51.422292640Z .-..-.
2022-08-03T20:58:51.422335744Z _____ | || |
2022-08-03T20:58:51.422343245Z /____/-.---_ .---. .---. .-.| || | .---.
2022-08-03T20:58:51.422348945Z | | _ _ |/ _ \/ _ \/ _ || |/ __ \
2022-08-03T20:58:51.422354446Z * | | | | | || |_| || |_| || |_| || || |___/
2022-08-03T20:58:51.422359746Z |_| |_| |_|\_____/\_____/\_____||_|\_____)
2022-08-03T20:58:51.425938649Z
2022-08-03T20:58:51.425988453Z Moodle 3.11.8 (Build: 20220711) command line installation program
2022-08-03T20:58:52.928214968Z -->System
2022-08-03T21:01:14.435Z INFO - Stopping site moodlev3-docker-1 because it failed during startup.
对于为什么在启动过程中失败有什么想法吗?我预计问题是通过环境变量提供的凭据,但相同的配置在本地和 AWS 上都有效。
最佳答案
编辑您的 Compose 文件并进行以下修改:从每个卷中删除 driver: local 并设置 mariadb 服务正在监听的端口。
version: '3'
services:
mariadb:
image: bitnami/mariadb:10.6
ports:
- "3306"
environment:
- MARIADB_USER=bn_moodle
- MARIADB_PASSWORD=foobar1111
- MARIADB_ROOT_PASSWORD=foobar1111
- MARIADB_DATABASE=bitnami_moodle
- MARIADB_CHARACTER_SET=utf8mb4
- MARIADB_COLLATE=utf8mb4_unicode_ci
volumes:
- 'mariadb_data:/bitnami/mariadb'
moodle:
image: bitnami/moodle:3
environment:
- BITNAMI_DEBUG=true
- MOODLE_DATABASE_HOST=mariadb
- MOODLE_DATABASE_PORT_NUMBER=3306
- MOODLE_DATABASE_USER=bn_moodle
- MOODLE_DATABASE_NAME=bitnami_moodle
- MOODLE_DATABASE_PASSWORD=foobar1111
- MOODLE_DATABASE_ROOT_PASSWORD=foobar1111
- MOODLE_SITE_NAME=Moodle v3 Test 1
- MOODLE_USERNAME=foobar_user
- MOODLE_PASSWORD=foobar1111
volumes:
- 'moodle_data:/bitnami/moodle'
- 'moodledata_data:/bitnami/moodledata'
depends_on:
- mariadb
volumes:
mariadb_data:
moodle_data:
moodledata_data:
关于azure - Bitnami Moodle 容器无法连接到 mariadb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73228021/
我有一个托管在 www.example.com 上的网站,它是一个 Bitnami 应用程序。 我想在 www.example.com/blog 上可以访问的同一台服务器上安装另一个 bitnami
启动 django 或 ipython notebook 时出现以下问题 /opt/bitnami/python/bin/.python2.7.bin:加载共享库时出错:libreadline.so.
我目前有一台运行 Cherokee 的服务器,但我的软件有很多问题,需要来自其他服务器(主要是 Apache)的特定技术,我正在考虑切换到 Bitnami 堆栈,因为我有一些不同的软件(Wordpre
我正在尝试在 Bitnami 准备的 VM 上配置 MySQL 进行复制(不要与 Bitnami 的 MySQL 复制混淆),但我遇到了二进制日志记录问题。 当我在 [mysqld] 下的 my.cn
Bitnami 和 Docker 在基于容器的部署方面有何不同。 我最近一直在学习微服务。我使用 Docker 镜像将我的应用程序作为容器运行。而且,我注意到 Bitnami 在从其启动板的云上创建虚
我们开始在工作中使用 Redmine。我知道它使用 MySQL 作为数据库,使用 Apache 2 作为 Web 服务器。如何正确备份Redmine,以便在出现问题时可以快速重新加载? 最佳答案 这将
Bitnami 堆栈默认启用页面速度。在开发过程中不会使用它。如何禁用 bitnami 堆栈中的 pagespeed? 最佳答案 在 lampstack-x.x.x/apache2/conf/page
我正在尝试启用“翻译”插件dokuwiki和对Dokuwiki Bitnami图像的其他一些更改。例如,我向Dokuwiki Bitnami镜像的'lib / tpl / dokuwiki'添加了一个
我正在使用 helm bitnami 图表将我的应用程序部署在 kubernetes 中。 我的应用程序包含以下 3 个组件, 网页用户界面网络应用程序接口(interface)1网络应用程序接口(i
所以我有这个 Bitnami EC2 实例,默认情况下其中有项目“Project”(位于/apps/django/django_projects),所以我开始遵循 django 教程并完成了所有操作。
我对计算机一窍不通,但我设法在自己的机器上使用了 Django 框架。我在 Amazon Web Service (AWS) 上拥有一个帐户已有一段时间了,但它的设置和使用似乎相当复杂,所以我暂时搁置
所以我在 AWS 上设置了 bitnami ruby 然后我用它来设置 mysql 5.6 https://www.digitalocean.com/community/tutorials/how
我在 EC2 实例上有 bitnami 堆栈,我想关闭 魔术引号,但是在 php.ini 我找不到关闭的选项。我已经看到如何通过代码关闭魔术引号,但如果我这样做了 echo 'Value for '.
我有一个应用程序可以在以前版本的 WAMP 堆栈上运行。Apache 中有一些更改,当应用程序在该堆栈上时这些更改不相关,但现在是。这也会阻止应用程序在当前堆栈上运行。 要让它工作,我需要旧版本的 W
我正在使用 BitNami GitLab Stack 5.2.0在 VirutalBox 中运行。 服务器时间回来了,但我不能使用标准的 Ubuntu 建议: Time Synchronization
我正在运行一些 Bitnami LAMP 堆栈,到目前为止它非常方便,并且大多数事情都按预期工作。 我一直在寻找有关如何更新 Apache、MySQL 和 PHP 的信息。它们安装在/opt/bitn
在 Azure“容器的 Web 应用程序”服务中,我有以下 docker-compose.yml 文件。基于此:https://github.com/bitnami/bitnami-docker-mo
我可以让我的Apache Kafka生产者在容器中运行时发送消息。但是,当我的生产者在主机中的容器外部运行时,它不起作用。我怀疑这是我的Docker撰写文件存在Docker网络问题,但我无法弄清楚。
我正在尝试将一个kafka实例放入docker容器中。 docker-compose.yml看起来像这样: version: '2' services: zookeeper: image:
我已经在kubernetes中部署了mongodb分片集群。 通过:helm install my-release bitnami/mongodb-sharded,默认功能为2个分片,每个分片只有1个
我是一名优秀的程序员,十分优秀!