mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
* Add gnupg2 to be able to sign commits * Make sure /var/www/html always belongs to www-data * Add Git-History plugin * Introduce dedicated entrypoint script * Store Postgres database data in volume to be persistent * Cleaner check if NC is already installed in setup.sh * Add composer to DevContainer Signed-off-by: GitHub <noreply@github.com>
1.2 KiB
1.2 KiB
Nextcloud DevContainer
Usage
Make sure you have the VSCode DevContainer extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use F1→Dev Containers: Open Folder in Container.
Alternatively open the project directly in GitHub Codespaces.
That's already it. Everything else will be configured automatically by the Containers startup routine.
Credentials
On first start the Container installs and configures Nextcloud with the following credentials:
Nextcloud Admin Login
Username: admin
Password: admin
Postgres credentials
Username: postgres
Password: postgres
Database: postgres
Services
The following services will be started:
| Service | Local port | Description |
|---|---|---|
| Nextcloud (served via Apache) | 80 |
The main application |
| Mailhog | 8025 |
SMTP email delivery for testing |
| Adminer | 8080 |
Database viewer. Use credentials from above and connect to localhost:5432 to get access to the NC database |