의 미러
https://github.com/nextcloud/server.git
synced 2024-08-23 17:57:31 +02:00
![Robin Windey](/assets/img/avatar_default.png)
* 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>
37 lines
698 B
YAML
37 lines
698 B
YAML
version: '3'
|
|
services:
|
|
nextclouddev:
|
|
build: .
|
|
volumes:
|
|
- .:/workspace:cached
|
|
- /var/run/docker.sock:/var/run/docker-host.sock
|
|
- ..:/var/www/html
|
|
command: /var/www/html/.devcontainer/entrypoint.sh
|
|
ports:
|
|
- 80:80
|
|
- 8080:8080
|
|
- 8025:8025
|
|
|
|
db:
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
PGDATA: /data/postgres
|
|
volumes:
|
|
- db:/data/postgres
|
|
network_mode: service:nextclouddev
|
|
|
|
adminer:
|
|
image: adminer
|
|
restart: always
|
|
network_mode: service:nextclouddev
|
|
|
|
mailhog:
|
|
image: mailhog/mailhog
|
|
restart: always
|
|
network_mode: service:nextclouddev
|
|
|
|
volumes:
|
|
db:
|