Ao executar o docker compose up dá essa mensagem:
✔ Network 3983-integracao-continua-projeto_inicial_default Create... 0.0s
✔ Container 3983-integracao-continua-projeto_inicial-postgres-1 C... 1.1s
✔ Container 3983-integracao-continua-projeto_inicial-app-1 Create... 0.0s
Attaching to app-1, postgres-1
postgres-1 | chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
postgres-1 | The files belonging to this database system will be owned by user "postgres".
postgres-1 | This user must also own the server process.
postgres-1 |
postgres-1 | The database cluster will be initialized with locale "en_US.utf8".
postgres-1 | The default database encoding has accordingly been set to "UTF8".
postgres-1 | The default text search configuration will be set to "english".
postgres-1 |
postgres-1 | Data page checksums are disabled.
postgres-1 |
postgres-1 | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ...
postgres-1 exited with code 1