diff --git a/energy-tests/compose-mariadb.yml b/energy-tests/compose-mariadb.yml index 264ec20b..54ddac7b 100644 --- a/energy-tests/compose-mariadb.yml +++ b/energy-tests/compose-mariadb.yml @@ -1,8 +1,8 @@ version: '2' volumes: - nextcloud: - db: + nextcloud-data-mariadb: + nextcloud-db-mariadb: services: db: @@ -10,7 +10,7 @@ services: restart: always command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW volumes: - - db:/var/lib/mysql + - nextcloud-db-mariadb:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson @@ -28,7 +28,7 @@ services: links: - db volumes: - - nextcloud:/var/www/html + - nextcloud-data-mariadb:/var/www/html environment: - MYSQL_PASSWORD=TheGibson - MYSQL_DATABASE=nextcloud diff --git a/energy-tests/compose-postgres.yml b/energy-tests/compose-postgres.yml index b0aaebe0..883ee2b8 100644 --- a/energy-tests/compose-postgres.yml +++ b/energy-tests/compose-postgres.yml @@ -1,15 +1,15 @@ version: '2' volumes: - nextcloud: - db: + nextcloud-data-postgres: + nextcloud-db-postgres: services: db: image: postgres:15.3-alpine3.18 restart: always volumes: - - db:/var/lib/postgresql/data + - nextcloud-db-postgres:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=TheGibson - POSTGRES_DB=nextcloud @@ -26,7 +26,7 @@ services: links: - db volumes: - - nextcloud:/var/www/html + - nextcloud-data-postgres:/var/www/html environment: - POSTGRES_PASSWORD=TheGibson - POSTGRES_DB=nextcloud diff --git a/energy-tests/compose-sqlite.yml b/energy-tests/compose-sqlite.yml index 18f7922a..7bd15a68 100644 --- a/energy-tests/compose-sqlite.yml +++ b/energy-tests/compose-sqlite.yml @@ -1,5 +1,8 @@ version: '2' +volumes: + nextcloud-data-sqlite: + services: nc: image: nextcloud:30.0.0-apache @@ -12,7 +15,7 @@ services: environment: SQLITE_DATABASE: owncloud2.db volumes: - - nextcloud:/var/www/html + - nextcloud-data-sqlite:/var/www/html healthcheck: test: curl --fail --silent http://nc interval: "1h" # effectively turns repeated healthchecks during runtime off