0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-19 12:55:08 +01:00
nextcloud-docker/energy-tests/compose-fpm-mariadb.yml
2023-07-24 13:25:48 +02:00

43 lines
849 B
YAML

version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb:11.0.2-jammy
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=TheGibson
- MYSQL_PASSWORD=TheGibson
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud:27.0.1-fpm
restart: always
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=TheGibson
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
nc:
image: nginx:1.25.1-alpine3.17
restart: always
ports:
- 8080:80
links:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- app