You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
volumes:
|
|
db:
|
|
nextcloud:
|
|
|
|
services:
|
|
db:
|
|
image: docker.io/library/mariadb:10.5
|
|
expose:
|
|
- "3306"
|
|
restart: always
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
environment:
|
|
- MARIADB_ROOT_PASSWORD=
|
|
- MARIADB_PASSWORD=
|
|
- MARIADB_DATABASE=nextcloud
|
|
- MARIADB_USER=nextcloud
|
|
- MARIADB_PASSWORD=nextcloud
|
|
- MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true
|
|
|
|
# URL: http://localhost:8080/apps/dashboard/
|
|
nextcloud:
|
|
image: docker.io/library/nextcloud:23-fpm-alpine
|
|
restart: always
|
|
expose:
|
|
- "9000"
|
|
links:
|
|
- db
|
|
volumes:
|
|
- nextcloud:/var/www/html
|
|
environment:
|
|
- MYSQL_PASSWORD=nextcloud
|
|
- MYSQL_DATABASE=nextcloud
|
|
- MYSQL_USER=nextcloud
|
|
- MYSQL_HOST=db
|
|
- NEXTCLOUD_ADMIN_USER=admin
|
|
- NEXTCLOUD_ADMIN_PASSWORD=secret
|
|
- NEXTCLOUD_DATA_DIR=/var/www/html/data
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=localhost
|
|
|
|
nginx:
|
|
image: docker.io/library/nginx:1.23-alpine
|
|
restart: always
|
|
ports:
|
|
- "8080:8080"
|
|
links:
|
|
- nextcloud
|
|
volumes:
|
|
- .podman-compose/nginx/nginx.conf:/etc/nginx/nginx.conf:z
|
|
- nextcloud:/var/www/html
|
|
|