diff --git a/docker-compose.yml b/docker-compose.yml index ed420c0..c626cd4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,6 @@ services: - DB_CONNECTION=s3Browser:hunter2@/s3Browser restart: unless-stopped s3: - container_name: s3 image: minio/minio environment: - MINIO_ROOT_USER=admin @@ -26,6 +25,19 @@ services: command: server /data --console-address ":9001" volumes: - s3_dev:/data + db: + image: mariadb + environment: + - MARIADB_ROOT_PASSWORD=hunter2 + - MARIADB_DATABASE=s3Browser + - MARIADB_USER=s3Browser + - MARIADB_PASSWORD=hunter2 + ports: + - 3306:3306 + volumes: + - mariadb_dev:/var/lib/mysql volumes: s3_dev: - name: s3_dev \ No newline at end of file + name: s3_dev + mariadb_dev: + name: mariadb_dev \ No newline at end of file