mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
fix: remove deprecated compose version tag
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mariadb:10.11
|
||||
image: mariadb:11.5
|
||||
container_name: filerun-db
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=your_mysql_root_password
|
||||
- MYSQL_USER=your_filerun_username
|
||||
- MYSQL_PASSWORD=your_filerun_password
|
||||
- MYSQL_DATABASE=your_filerun_database
|
||||
expose:
|
||||
- 3306
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/db:/var/lib/mysql
|
||||
|
||||
filerun:
|
||||
image: filerun/filerun
|
||||
image: filerun/filerun:latest
|
||||
container_name: filerun
|
||||
environment:
|
||||
- FR_DB_HOST=db
|
||||
@@ -27,6 +28,8 @@ services:
|
||||
- db:db
|
||||
ports:
|
||||
- 8080:80
|
||||
expose:
|
||||
- 80
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/html:/var/www/html
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/files:/user-files
|
||||
|
||||
Reference in New Issue
Block a user