我正在尝试容器化我的 Rails 应用程序并通过 docker-compose 启动它。该应用程序构建良好docker-compose build,但在尝试启动时失败:
$ docker-compose up
Starting postgres ... done
Recreating puma ... done
Attaching to postgres, puma
postgres |
postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres |
postgres | 2022-05-04 21:45:30.012 UTC [1] LOG: starting PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
postgres | 2022-05-04 21:45:30.012 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres | 2022-05-04 21:45:30.012 UTC …Run Code Online (Sandbox Code Playgroud)